[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 25 12:44:23 PDT 2010


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



--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-08-25 12:44:15 PDT ---
This test case it's a problem with is(), not static if. This behaviour was
introduced in 2.047.
--------
enum bool WWW = is(typeof(A.x));

class A {
    B blah;
    void foo(B b){} 
}
--------

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