This commit is contained in:
ryuukk 2023-08-12 02:00:17 +02:00
parent 9c08819a0f
commit c24981f9ba
2 changed files with 14 additions and 2 deletions

View File

@ -332,7 +332,19 @@ final class FirstPass : ASTVisitor
if (iot.templateInstance.identifier != tok!"")
lookup.breadcrumbs.insert(istring(iot.templateInstance.identifier.text));
// TODO: handle `iot.templateInstance.templateArguments`
// TODO: finish handling `iot.templateInstance.templateArguments`
if (iot.templateInstance.templateArguments)
{
if (iot.templateInstance.templateArguments.templateSingleArgument)
{
auto tsaTok = iot.templateInstance.templateArguments.templateSingleArgument.token;
if (tsaTok.text == "")
lookup.breadcrumbs.insert(istring(str(tsaTok.type)));
// TODO: investigate why this break everything
// else
// lookup.breadcrumbs.insert(istring(tsaTok.text));
}
}
}
}

View File

@ -1,2 +1,2 @@
identifiers
bar v foo bar stdin 92
bar v stdin 92