Fix test
This commit is contained in:
parent
9c08819a0f
commit
c24981f9ba
|
@ -332,7 +332,19 @@ final class FirstPass : ASTVisitor
|
||||||
if (iot.templateInstance.identifier != tok!"")
|
if (iot.templateInstance.identifier != tok!"")
|
||||||
lookup.breadcrumbs.insert(istring(iot.templateInstance.identifier.text));
|
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));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
identifiers
|
identifiers
|
||||||
bar v foo bar stdin 92
|
bar v stdin 92
|
||||||
|
|
Loading…
Reference in New Issue