update exponentiation operator precedence - fixes #2431

This commit is contained in:
Sebastian McKenzie
2015-10-30 23:14:10 +00:00
parent c224a7a370
commit 3d842df554
4 changed files with 27 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
{
"plugins": ["exponentiationOperator"]
}

View File

@@ -0,0 +1 @@
-5 ** 6;

View File

@@ -0,0 +1,3 @@
{
"throws": "Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:1)"
}