[Issue 1100] Alias parameters don't accept primitive types.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 9 19:23:54 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1100
spunit262 at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spunit262 at yahoo.com
------- Comment #4 from spunit262 at yahoo.com 2007-11-09 21:23 -------
(In reply to comment #3)
> Added to DStress as
> http://dstress.kuehne.cn/compile/a/alias_42_A.d
> http://dstress.kuehne.cn/compile/a/alias_42_B.d
> http://dstress.kuehne.cn/nocompile/a/alias_42_C.d
>
Int isn't defined in C, so even if alias parameters did accept primitive types
(which there isn't *any* reason for not to), it wouldn't compile.
--
More information about the Digitalmars-d-bugs
mailing list