babylon: throw parse error if class properties do not have a semicolon (fixes T6873)

This commit is contained in:
Henry Zhu
2015-12-30 13:09:01 -05:00
parent 1ec3a348d6
commit 976edfc067
7 changed files with 21 additions and 5 deletions

View File

@@ -5,5 +5,5 @@ class Child extends Parent {
scopedFunctionWithThis = () => {
this.name = {};
}
};
}

View File

@@ -1,7 +1,7 @@
call(class {
static test = true
static test = true;
});
export default class {
static test = true
static test = true;
};