You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template T()
{
struct S
{
int a, b, c;
}
static void print(S[] p_args...)
{
foreach(S cur; p_args)
{
writeln(cur|
}
}
}
If you put the cursor where the | is (after cur) and hit . the members of S will not appear in the completion list. Changing print to be non-static or moving the code outside the template fixes the problem.
The text was updated successfully, but these errors were encountered:
There are various other corner cases I encountered where intellisense or rename-refactoring behave oddly, should I create similar reports as I encouter them in the future (might be a bunch of things, though)?
Most minimal repro I could create:
If you put the cursor where the | is (after
cur
) and hit.
the members of S will not appear in the completion list. Changingprint
to be non-static or moving the code outside the template fixes the problem.The text was updated successfully, but these errors were encountered: