fix class decorator methods
This commit is contained in:
parent
286ae68da2
commit
0dd32e7d9c
@ -474,7 +474,7 @@ pp.parseClass = function(node, isStatement) {
|
||||
while (!this.eat(tt.braceR)) {
|
||||
if (this.eat(tt.semi)) continue
|
||||
if (this.type === tt.at) {
|
||||
this.parseDecorator()
|
||||
this.decorators.push(this.parseDecorator())
|
||||
continue;
|
||||
}
|
||||
var method = this.startNode()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user