Skip to content

need flag to enable CompilerOptions.setAssumeStaticInheritanceRequired(true) #3559

Open

Description

To avoid compilation breaking uses of this and super in static methods of ES6 classes, you have to get CommandLineRunner to do CompilerOptions.setAssumeStaticInheritanceRequired(true) when creating the Compiler object.

Unfortunately, there is no flag for this yet, and we can't make it the default behavior because of increase in output code size it causes for Google projects.

This would be a good community-volunteer thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    P3good first issueRelatively easy, but low priority bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions