Save progress
This commit is contained in:
parent
64d647198b
commit
7a64de71a1
|
|
@ -550,7 +550,7 @@ do
|
|||
return;
|
||||
}
|
||||
|
||||
if (lastSuffix !is null && lastSuffix.qualifier == SymbolQualifier.none)
|
||||
if (lastSuffix !is null)
|
||||
{
|
||||
assert(suffix !is null);
|
||||
typeSwap(currentSymbol);
|
||||
|
|
@ -702,7 +702,8 @@ void resolveTypeFromInitializer(DSymbol* symbol, TypeLookup* lookup,
|
|||
symbol.type = currentSymbol;
|
||||
symbol.ownType = false;
|
||||
|
||||
writeln(">> type: ", currentSymbol.name);
|
||||
if (currentSymbol)
|
||||
writeln(">> type: ", currentSymbol.name);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
@ -827,4 +828,4 @@ void typeSwap(ref DSymbol* currentSymbol)
|
|||
|| currentSymbol.kind == CompletionKind.withSymbol
|
||||
|| currentSymbol.kind == CompletionKind.aliasName))
|
||||
currentSymbol = currentSymbol.type;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue