Would be nice if compiler gave more information!

DigitalDesigns DigitalDesigns at gmail.com
Thu Jun 14 11:30:46 UTC 2018


object.Error@(0): Access Violation
----------------
0x00415999
0x0040A3B7
0x00518A2D
0x005751FD
0x005ABA41
0x005ABAEB
0x00525136
0x005246D6
0x005253E2
0x0066509D
0x00664F38
0x00529F68
0x77018744 in BaseThreadInitThunk
0x77C5582D in RtlGetAppContainerNamedObjectPath
0x77C557FD in RtlGetAppContainerNamedObjectPath

So, when the compiler crashes it would be really nice if more 
information than just the above was given!

All I know is that using the code

static foreach(a; ["wchar", "ushort"])
	mixin("void bar("~a~" value) { foo(); }");
	
is what is causing it. Manually giving the functions works fine.


More information about the Digitalmars-d mailing list