Jeroen Engels
e14f93d1bb
Fix crash when exporting with destructuring and sparse array ( #170 )
...
* Create reproducible crash when exporting with destructuring and sparse array
* Fix crash when exporting with destructuring and sparse array
2016-10-12 19:36:08 -04:00
Daniel Tschinder
d4d6d05d25
Slightly better error messages ( #150 )
...
* Slightly better errors
Instead of "Unexpected token" we now print
"Unexpected token, expected <type.label>"
2016-10-12 10:38:26 -04:00
Kai Cataldo
7dd45f7465
Check for duplicate named exports in exported rest elements/properties ( #164 )
2016-10-10 10:10:16 -04:00
Kai Cataldo
76e69277d7
Check for duplicate named exports in exported destructuring assignments ( #144 )
...
* Check for duplicate named exports in exported destructuring assignments
* Refactor duplicate error reporting
* Remove unnecessary check
2016-10-04 15:06:26 +02:00
jezell
9cc0981c51
get / set are valid property names in default assignment ( #142 )
2016-09-27 23:29:16 +02:00
Henry Zhu
1d04d12794
Don't do the duplicate check if not an identifier ( #140 )
2016-09-23 00:44:13 -04:00
Daniel Tschinder
952d50faf9
Make exportIdentifiers and array so that base object properties are not accounted ( #137 )
2016-09-22 16:00:39 -04:00
Moti Zilberman
774e6b446b
Rephrase "assigning/binding to rvalue" errors to include context ( #119 ) ( #123 )
...
* Rephrase "assigning/binding to rvalue" error messages with context (#119 )
* Fix code style in parser/lval.js
* istanbul ignore some unused branches in parser/lval.js
* Fix code style again in parser/lval.js
2016-09-22 12:02:20 -04:00
Kai Cataldo
650e33376a
Disallow duplicate named exports ( #107 )
...
fixes #69
2016-09-22 10:20:47 -04:00
Daniel Tschinder
4506822180
Remove exponentiationOperator, asyncFunctions, trailingFunctionCommas ( #98 )
...
* This removes the exponentiationOperator as it is now in es2016
* Remove from tests
* Remove asyncFunctions and restructure test dirs
* Remove trailingFunctionCommas
2016-08-23 17:11:01 -04:00