Skip to content

Commit

Permalink
Remove ES2015 tests than do not parse in ES2016 (#4501)
Browse files Browse the repository at this point in the history
These tests are originally from Traceur, which does not fully support
ES2016.

See babel/babylon#106 for a rationale why these code blocks are not
valid ES2016.
  • Loading branch information
TimothyGu authored and hzoo committed Sep 12, 2016
1 parent d2d34ba commit 5249b9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Expand Up @@ -9,10 +9,3 @@ var o = {
function f({x}) {}
f(o);
assert.equal(1, count);

count = 0;
function g({x}) {
'use strict';
}
g(o);
assert.equal(1, count);
@@ -1,11 +1,3 @@
function f(x, y = function(x) {}) {
'use strict';
}

var f2 = (x, y = function(x) {}) => {
'use strict';
};

function g() {
'use strict';
function h(x, y = function(x) {}) {
Expand Down

0 comments on commit 5249b9d

Please sign in to comment.