[Issue 4137] Undefined identifier error in is(typeof())

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 1 09:45:33 PDT 2010


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2010-05-01 09:45:29 PDT ---
This is expected & documented behavior. Compilation failures inside "is"
expressions cause the is expression result to be false. A lot of template code
relies on this.

If you want an error on R being undefined, use it somewhere else in addition to
inside the "is" expression.

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