This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The hint about ecma6 is problematic as it is based purely on lexed (new) tokens. Such aproach has two problems: 1) it does not handle cases of new features without such token, such as default parameter values, generator functions, binary literals etc. 2) valid (non strict mode) ecma5 code may use such keywords as identifiers Also it would be nice to have a hint fix similar to what we have done form ecma7. See Ecma6Rule.java and Ecma7Rule.java.
I changed as many as possible hints to visitor method and I made it similar to Ecma7 hints. Thank you for a tip. http://hg.netbeans.org/web-main/rev/6f512a6b9d0c
Integrated into 'main-silver', will be available in build *201608230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6f512a6b9d0c User: Milutin Kristofic <mkristofic@netbeans.org> Log: #262628 - Ecma6 hint does not cover all features