[Issue 5785] Lexing or Parsing issue with UFCS

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 25 16:07:38 PDT 2011


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



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-03-25 16:04:15 PDT ---
Note that `is` _can_ be used, but `!is` cannot. Hence:

This builds fine:
if (!filename.isFile || filename.getExt in fileExtensions)

This doesn't:
if (!filename.isFile || filename.getExt !in fileExtensions)

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