[Issue 8414] with statement causes linker error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 7 22:47:01 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-08-07 22:47:00 PDT ---
It's still a bug, if you use braces the bug isn't reproduced:

OK:
    with (Enum)
    {
        if (matchAny(en, en1, en2)) 
        { 
        }
    }

Linker error:
    with (Enum)
        if (matchAny(en, en1, en2)) 
        { 
        }

-- 
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