google/closure-compiler
Ver no GitHubneed flag to enable `CompilerOptions.setAssumeStaticInheritanceRequired(true)`
Open
#3.559 aberto em 25 de fev. de 2020
P3good first issue
Métricas do repositório
- Stars
- (7.176 stars)
- Métricas de merge de PR
- (Mesclagem média 3d 4h) (1 fundiu PR em 30d)
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.