[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:45:57 PDT 2007


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


deewiant at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Priority|P2                          |P3




------- Comment #2 from deewiant at gmail.com  2007-07-11 15:45 -------
This is as intended, but it's still the most annoying thing about typedefs.
IMHO typedefs should convert freely to and from their base type, explicit casts
should only be needed when converting to other typedefs.

Use "foo g = f - cast(foo)1".


-- 



More information about the Digitalmars-d-bugs mailing list