add support for call expression abstract references and more versatile tests

This commit is contained in:
Sebastian McKenzie
2014-11-23 18:37:30 +11:00
parent 55150853b4
commit 4502aee988
9 changed files with 45 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
foo::bar();
foo::bar("arg");

View File

@@ -0,0 +1,4 @@
"use strict";
bar[Symbol.referenceGet](foo).call(foo);
bar[Symbol.referenceGet](foo).call(foo, "arg");

View File

@@ -1 +1,3 @@
delete foo::bar;
if (delete foo::bar);

View File

@@ -1,3 +1,5 @@
"use strict";
bar[Symbol.referenceDelete](foo);
if ((bar[Symbol.referenceDelete](foo), true)) ;

View File

@@ -0,0 +1,3 @@
{
"experimental": true
}

View File

@@ -1 +1,2 @@
foo::bar = baz;
if (foo::bar = baz);

View File

@@ -1,3 +1,4 @@
"use strict";
bar[Symbol.referenceSet](foo, baz);
if ((bar[Symbol.referenceSet](foo, baz), baz)) ;