fix bad imports when resolving annotations

This commit is contained in:
Dave Holoway
2020-06-16 18:51:00 +01:00
parent 8df1a3464b
commit e88475dddd

View File

@@ -208,7 +208,7 @@ function parseUnit(tokens, unit, typemap) {
if (tokens.current.value === '@') {
tokens.inc().value === 'interface'
? sourceType(modifiers, tokens, package_name, '@interface', unit, resolved_imports, typemap)
: annotations.push(annotation(tokens, null, unit.imports, typemap));
: annotations.push(annotation(tokens, null, resolved_imports, typemap));
continue;
}
break;