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

           Summary: Allow using "with" with rvalues
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: thecybersha...@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2011-09-17 
11:13:19 PDT ---
The most common use of WithStatements in my D1 codebase was:

with (someFunction(...)) ...

D2 disallows this - for some reason it demands that the expression be an
lvalue. I don't see this in the spec, either.

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

Reply via email to