Allow call and unary expressions as map keys.

This commit is contained in:
Bob Nystrom
2015-12-22 16:00:50 -08:00
parent 55beda3ea9
commit 1ebc711c30
3 changed files with 30 additions and 1 deletions
@@ -0,0 +1,3 @@
var map = {
1 + 2: "bad key" // expect error
}