LDC 0.10.0 has been released!

Kiith-Sa kiithsacmp at gmail.com
Tue May 14 20:30:03 PDT 2013


Thanks for including builds (I've given up my attempts to use GDC 
due to its compilation being a PITA).

I have a bug (works with DMD 2.060, not with this LDMD2 build),
but it's in a medium-sized codebase and I don't have time to find
a minimal test case right now, so not posting to bugtracker (yet).

The bug is in my D:YAML (https://github.com/kiith-sa/D-YAML) 
library:
Compilation works fine, is successful, but at runtime following 
exceptions get thrown:


object.Exception
object.Exception@/build/src/ldc/runtime/druntime/src/object_.d(108): 
need opCmp for class TypeInfo_e
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object.Exception
object.Exception@/build/src/ldc/runtime/druntime/src/object_.d(108): 
need opCmp for class TypeInfo_Aya


I've looked at LDC druntime source; TypeInfo_e and TypeInfo_Aya 
classes both are derived from TypeInfo, which overrides Object's 
opCmp, while Object's opCmp throws the exception. So I don't know 
what's going on.

(Again, these exceptions don't get thrown with DMD 2.060)


More information about the digitalmars-d-ldc mailing list