clean up scope collision tracking and constants transformer - fixes #331
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "MULTIPLIER is read-only"
|
||||
"throws": "Duplicate declaration MULTIPLIER"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "MULTIPLIER is read-only"
|
||||
"throws": "Duplicate declaration MULTIPLIER"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "MULTIPLIER is read-only"
|
||||
"throws": "Duplicate declaration MULTIPLIER"
|
||||
}
|
||||
|
||||
2
test/fixtures/transformation/es6-constants/update-expression/actual.js
vendored
Normal file
2
test/fixtures/transformation/es6-constants/update-expression/actual.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
const foo = 1;
|
||||
foo++;
|
||||
3
test/fixtures/transformation/es6-constants/update-expression/options.json
vendored
Normal file
3
test/fixtures/transformation/es6-constants/update-expression/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "foo is read-only"
|
||||
}
|
||||
Reference in New Issue
Block a user