www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - DParserCOMServer constantly crashing

reply FoxyBrown <Foxy Brown.IPT> writes:
after updating, the errors I get are

$exception: 'Unable to cast object of type 
'D_Parser.Resolver.EnumType' to type 
'D_Parser.Resolver.TemplateIntermediateType'.'

this: Cannot obtain value of the local variable or argument 
because it is not available at this instruction pointer, possibly 
because it has been optimized away.

isExpression: {is(T==struct)}

DoAliasHandling:	Cannot obtain value of the local variable or 
argument because it is not available at this instruction pointer, 
possibly because it has been optimized away.	bool


It shouldn't crash because that interrupts the work flow.
Jul 14
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 14.07.2017 19:32, FoxyBrown wrote:
 after updating, the errors I get are
 
 $exception: 'Unable to cast object of type 'D_Parser.Resolver.EnumType' 
 to type 'D_Parser.Resolver.TemplateIntermediateType'.'
 
 this: Cannot obtain value of the local variable or argument because it 
 is not available at this instruction pointer, possibly because it has 
 been optimized away.
 
 isExpression: {is(T==struct)}
 
 DoAliasHandling:    Cannot obtain value of the local variable or 
 argument because it is not available at this instruction pointer, 
 possibly because it has been optimized away.    bool
 
 
 It shouldn't crash because that interrupts the work flow.
 
I was not able to reproduce the crash but the variable names hinted at a specific source location which contained a dubious cast. Please try the fix in https://github.com/dlang/visuald/releases/tag/v0.45.0-rc2
Jul 18