Implement calls to 'super()' (#445)

This commit is contained in:
Daniel Wirtz
2019-01-31 10:35:49 +01:00
committed by GitHub
parent 65c4acd2d4
commit 75328f3feb
10 changed files with 832 additions and 14 deletions

View File

@ -120,7 +120,8 @@ export function nodeIsCallable(kind: NodeKind): bool {
case NodeKind.CALL:
case NodeKind.ELEMENTACCESS:
case NodeKind.PARENTHESIZED:
case NodeKind.PROPERTYACCESS: return true;
case NodeKind.PROPERTYACCESS:
case NodeKind.SUPER: return true;
}
return false;
}