pass scoped type instead of method to typeIdent

This commit is contained in:
Dave Holoway
2020-06-08 16:18:49 +01:00
parent 261abb9cc7
commit 7c9acfd7ca
2 changed files with 14 additions and 14 deletions

View File

@@ -1915,7 +1915,7 @@ function qualifiers(matches, tokens, locals, method, imports, typemap) {
tokens.inc();
let type_arguments = [];
if (!tokens.isValue('>')) {
type_arguments = typeIdentList(tokens, method, imports, typemap);
type_arguments = typeIdentList(tokens, method._owner, imports, typemap);
tokens.expectValue('>');
}
matches.types = matches.types.map(t => {