[Issue 10803] pragma(msg, ...) fails with enum TypeTuple: compilation error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 12 11:16:25 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10803



--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> 2013-08-12 11:16:24 PDT ---
(In reply to comment #5)
> If you are sure this is intended behavior it needs to be very clearly
> documented at http://dlang.org/tuple.html. At the very least. Because right now
> I can find no mention in docs that type tuples that consist purely from
> expressions have that special meaning. 

It's documented in "Tuple Declarations" part.

> It is a quite confusing behavior considering what pure type tuple and
> std.typecons.Tuple are.

The confusion comes from the naming. I prefer to use different name "sequence"
for the built-in tuple, but it is not consensus...

-- 
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