[Issue 6685] New: Allow using "with" with rvalues
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 17 11:13:45 PDT 2011
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: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at 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: -------
More information about the Digitalmars-d-bugs
mailing list