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


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_h...@eml.cc


--- Comment #2 from bearophile_h...@eml.cc 2012-02-05 06:14:36 PST ---
(In reply to comment #1)
> https://github.com/D-Programming-Language/dmd/pull/673

I don't like it. There are better solutions, like:
is(typeof(E.a | E.b) == int)

This means f(E.a | E.b) becomes a compile-time error, a type mismatch.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to