switch rest and default parameters to new ast type

This commit is contained in:
Sebastian McKenzie
2015-01-24 16:31:43 +11:00
parent b938e1aece
commit 8a13c12738
11 changed files with 44 additions and 80 deletions

View File

@@ -1 +0,0 @@
function foo(a=b, b) {}

View File

@@ -1,3 +0,0 @@
{
"throws": "Temporal dead zone - accessing a variable before it's initialized"
}

View File

@@ -1 +0,0 @@
function foo(a=a) {}

View File

@@ -1,3 +0,0 @@
{
"throws": "Temporal dead zone - accessing a variable before it's initialized"
}