[Issue 14332] New: support with statement and :
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 24 20:41:41 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14332
Issue ID: 14332
Summary: support with statement and :
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: deadalnix at gmail.com
D supports : as an indicator to create a scope up to the end of the enclosing
scope.
This does not work for this:
with(Foo): // Error: found ':' instead of statement
If there is no specific reason for this to not work, then it should be
supported.
--
More information about the Digitalmars-d-bugs
mailing list