[Issue 4639] Built-in primitive types cannot be used as template alias parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 13 22:33:15 PDT 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


--- Comment #6 from Don <clugdbug at yahoo.com.au> 2010-08-13 22:33:12 PDT ---
>It's exactly the same issue as: typeof(int) is not legal.(In reply to comment #5)
> This spec is way to sh... I mean incomplete to interpret it literally. Also it
> is known that the spec is downright incorrect in many cases. I don't know why
> you would close this bug as invalid just because of the spec text.

NO. I requested Walter to make this change, and he rejected this before. It is
definitely NOT a bug. A built-in type is not a D symbol.

> Also it's
> very inconsistent to exclude built-in types. About it being intentional by
> Walter: he actually fixed the mentioned bug 1341 and didn't close it as
> invalid. 

No, *I* changed the description of the bug after discussion with Walter. It was
originally "typeof(int) should probably be legal".

> Finally, it's a D1 problem too.

No it isn't. It's an enhancement which would break existing code.

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