Update babylon and remove bad label tests (#6188)

This commit is contained in:
Justin Ridgewell
2017-09-01 12:29:48 -04:00
committed by Henry Zhu
parent 76161e0a73
commit 1797ac5015
3 changed files with 1 additions and 28 deletions

View File

@@ -19,7 +19,7 @@
"babel-preset-flow": "7.0.0-alpha.18",
"babel-preset-stage-0": "7.0.0-alpha.18",
"babel-register": "7.0.0-alpha.18",
"babylon": "7.0.0-beta.18",
"babylon": "7.0.0-beta.22",
"browserify": "^13.1.1",
"bundle-collapser": "^1.2.1",
"chai": "^4.1.0",

View File

@@ -1,15 +1,3 @@
let x, y;
{
a: let x;
let y;
}
switch (0) {
case 0: a: let x=0;
}
// it should break from inside of switch statements using labels
loop:
for (var i = 0; i < 10; i++) {
const z = 3; // force loop function

View File

@@ -1,18 +1,3 @@
var x = void 0,
y = void 0;
{
a: var _x = void 0;
var _y = void 0;
}
switch (0) {
case 0:
a: var _x2 = 0;
} // it should break from inside of switch statements using labels
var _loop = function () {
var z = 3; // force loop function