* 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
This commit is contained in:
committed by
Henry Zhu
parent
650e33376a
commit
774e6b446b
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:0)"
|
||||
"throws": "Invalid left-hand side in assignment expression (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:0)"
|
||||
"throws": "Invalid left-hand side in assignment expression (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:1)"
|
||||
"throws": "Invalid left-hand side in assignment expression (1:1)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:0)"
|
||||
"throws": "Invalid left-hand side in postfix operation (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:0)"
|
||||
"throws": "Invalid left-hand side in postfix operation (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:2)"
|
||||
"throws": "Invalid left-hand side in prefix operation (1:2)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:2)"
|
||||
"throws": "Invalid left-hand side in prefix operation (1:2)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:5)"
|
||||
"throws": "Invalid left-hand side in for-in statement (1:5)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:0)"
|
||||
"throws": "Invalid left-hand side in assignment expression (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:0)"
|
||||
"throws": "Invalid left-hand side in assignment expression (1:0)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:1)"
|
||||
"throws": "Invalid left-hand side in arrow function parameters (1:1)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:1)"
|
||||
"throws": "Invalid left-hand side in arrow function parameters (1:1)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:5)"
|
||||
"throws": "Invalid left-hand side in for-in statement (1:5)"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Assigning to rvalue (1:5)"
|
||||
"throws": "Invalid left-hand side in for-in statement (1:5)"
|
||||
}
|
||||
Reference in New Issue
Block a user