D_Parser
D_Parser copied to clipboard
TypeDeclarationResolver does not set .Base correctly for DSymbol when as parameter
The following expression does not set (at as DSymbol).Base properly for function parameters:
var at = TypeDeclarationResolver.ResolveSingle(exp, this.resolutionCtx, null);
test scenario:
-
breakpoint watched while stopped in debugger, dsBase here is null
-
having tested analogy with a locally defined Object instance and everything works in this case