js2-keywords constant contains "import", but is missing "export" although
there are variables defined for both of these:
(defvar js2-EXPORT 109) ; export keyword
(defvar js2-IMPORT 110) ; import keyword
The most important problem that this IMHO causes is that when you have js2-
allow-keywords-as-property-names set to nil and you expect js2-mode to
warn you when you use keywords as property names, then it will not warn
you about using "export".
The fix is trivial - just add "import" to js2-keywords.
Original issue reported on code.google.com by rsaarsoo@gmail.com on 28 Jul 2009 at 7:12
Original issue reported on code.google.com by
rsaarsoo@gmail.com
on 28 Jul 2009 at 7:12