http://bugzilla.gdcproject.org/show_bug.cgi?id=242
--- Comment #1 from Iain Buclaw <ibuc...@gdcproject.org> --- In the bad code, the frontend gives us a CallExp for: Instance.iter() In the good code, the frontend gives us a CallExp for: Thing().iter() Regardless of this slight difference between what should be identical code, the ICE in the deep backend is because DECL_INITIAL was never generated where one was expected. There is a comment relating to debug emission in VarDeclaration::toObjFile. CONST_DECL was initially intended for enumerals and may be used for scalars in general but not for aggregates. This is still true as far as debugging is concerned, although for simple aggregates (without pointers) they are represented just fine in gdb as of 7.11, but we should probably generate an initializer anyway on the basis that it might be used. -- You are receiving this mail because: You are watching all bug changes.