parent
4b6c7ac0f6
commit
7901e7d1b9
@ -288,12 +288,14 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
isGenerator: boolean,
|
||||
isAsync: boolean,
|
||||
isPattern: boolean,
|
||||
containsEsc: boolean,
|
||||
): ?N.ObjectMethod {
|
||||
const node: N.EstreeProperty = (super.parseObjectMethod(
|
||||
prop,
|
||||
isGenerator,
|
||||
isAsync,
|
||||
isPattern,
|
||||
containsEsc,
|
||||
): any);
|
||||
|
||||
if (node) {
|
||||
|
||||
@ -1837,6 +1837,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
isAsync: boolean,
|
||||
isPattern: boolean,
|
||||
refShorthandDefaultPos: ?Pos,
|
||||
containsEsc: boolean,
|
||||
): void {
|
||||
if ((prop: $FlowFixMe).variance) {
|
||||
this.unexpected((prop: $FlowFixMe).variance.start);
|
||||
@ -1859,6 +1860,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
isAsync,
|
||||
isPattern,
|
||||
refShorthandDefaultPos,
|
||||
containsEsc,
|
||||
);
|
||||
|
||||
// add typeParameters if we found them
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user