clean up scope collision tracking and constants transformer - fixes #331

This commit is contained in:
Sebastian McKenzie
2015-02-03 13:20:52 +11:00
parent e6e93840a6
commit 630f1717f0
9 changed files with 59 additions and 45 deletions

View File

@@ -1,3 +1,3 @@
{
"throws": "MULTIPLIER is read-only"
"throws": "Duplicate declaration MULTIPLIER"
}

View File

@@ -1,3 +1,3 @@
{
"throws": "MULTIPLIER is read-only"
"throws": "Duplicate declaration MULTIPLIER"
}

View File

@@ -1,3 +1,3 @@
{
"throws": "MULTIPLIER is read-only"
"throws": "Duplicate declaration MULTIPLIER"
}

View File

@@ -0,0 +1,2 @@
const foo = 1;
foo++;

View File

@@ -0,0 +1,3 @@
{
"throws": "foo is read-only"
}