babylon: throw parse error if class properties do not have a semicolon (fixes T6873)
This commit is contained in:
@@ -5,5 +5,5 @@ class Child extends Parent {
|
||||
|
||||
scopedFunctionWithThis = () => {
|
||||
this.name = {};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
call(class {
|
||||
static test = true
|
||||
static test = true;
|
||||
});
|
||||
|
||||
export default class {
|
||||
static test = true
|
||||
static test = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user