[Issue 16394] TypeInfo.init() for static arrays returns single element instead of whole array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 16 07:38:59 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16394

--- Comment #16 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Eyal from comment #1)
> Prints out:
> [Int(1, 7FE7FED92000), Int(2, 7FE7FED92000)]
> [Int(3, null), Int(0, 73)]
> 
> The second field being printed for Int seems like *yet another* bug.

The other field being printed is the context pointer, since your struct is
nested in the unittest.

--


More information about the Digitalmars-d-bugs mailing list