Change JsfileParser to accept ECMASCRIPT8 (ES2017)
@@ -211,8 +211,8 @@ public class JsfileParser implements EntryPoint {
Config config =
ParserRunner.createConfig(
- // TODO(sdh): ES6 STRICT, with a non-strict fallback - then give warnings.
- Config.LanguageMode.ECMASCRIPT6,
+ // TODO(sdh): ES8 STRICT, with a non-strict fallback - then give warnings.
+ Config.LanguageMode.ECMASCRIPT8,
Config.JsDocParsing.INCLUDE_DESCRIPTIONS_NO_WHITESPACE,
Config.RunMode.KEEP_GOING,
/* extraAnnotationNames */ ImmutableSet.<String>of(),
