[Issue 10451] Array of pointers to opaque struct gives forward reference errors.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 18 04:18:35 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10451
Iain Buclaw <ibuclaw at ubuntu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at ubuntu.com
--- Comment #5 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-09-18 04:18:33 PDT ---
This happens because, eg: array literals are initialised by the GC by calling
_d_arrayliteralTX (typeinfo, dim);
This requires that the struct has a complete runtime type information about a
type. Something that does not get generated for opaque types, which makes this
bug not the easiest to fix - and the same is with other array operations which
also require typeinfo to be available.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list