[Issue 10803] pragma(msg, ...) fails with enum TypeTuple: compilation error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 12 07:34:04 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10803
Dicebot <public at dicebot.lv> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |public at dicebot.lv
--- Comment #1 from Dicebot <public at dicebot.lv> 2013-08-12 07:34:03 PDT ---
Ugh, I expected this line:
> enum er = TypeTuple!("one", "two", "three");
to either not compile at all or be equivalent to enum er = ("one", "two",
three");
Type tuple on its own is not a value that can be assigned to something, only
aliasing or expanding it should be legal. My guess is that dirty `enum`
implementation details get observed here.
--
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