Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
To avoid compilation breaking uses of
thisandsuperin static methods of ES6 classes, you have to getCommandLineRunnerto doCompilerOptions.setAssumeStaticInheritanceRequired(true)when creating theCompilerobject.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.