[Issue 1335] typedef-1 can't be stored in same typedef
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 11 13:32:55 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1335
------- Comment #1 from shro8822 at vandals.uidaho.edu 2007-07-11 15:32 -------
that would indicate that the typing rules will only convert back to base types
in expressions.
(cast(foo)1) + 1 => (cast(uint)(cast(foo)1)) + (cast(uint)1)
I think this is the correct way to do things, however an argument might be made
for literal being a special case.
--
More information about the Digitalmars-d-bugs
mailing list