[Issue 7919] Sample code works on GDC but fails with DMD
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 15 17:52:20 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7919
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|DMD |Phobos
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2012-04-15 17:53:07 PDT ---
There are related two issues.
1. The implementation of core.thread.Thread class was hidden by adding
hand-made di file in 2.059. It hides actual class members with 'void[N] data'.
2. std.traits.hasIndirections doesn't define its behavior against void[N] type.
I think hasIndirections template should return true for void static array
types, because void data *may* have some indirections - it's conservative way.
But I'm not sure.
(In reply to comment #1)
> I am just going to point out that gdc is on 2.057 release. And my best
> assumption would be this would be a library bug, not a compiler.
Yes, this is druntime or Phobos issue, not compiler's.
I'll change 'Component' from dmd to Phobos.
--
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