digitalmars.D.bugs - [Issue 1256] New: "with" statement with symbol
- d-bugmail puremagic.com (25/25) Jun 04 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1256
- d-bugmail puremagic.com (4/4) Jun 26 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1256
- d-bugmail puremagic.com (7/7) Jun 26 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1256
http://d.puremagic.com/issues/show_bug.cgi?id=1256 Summary: "with" statement with symbol Product: D Version: 1.014 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: wstring gmail.com The following code was copied from D document: http://www.digitalmars.com/d/statement.html#WithStatement with a little modification. The 7th line have caused a compile error "Foo is not a lvalue". void main() { struct Foo { typedef int Y; } with (Foo) { //Error: Foo is not a lvalue Y y; } } --
Jun 04 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1256 Fixed in 1.017. --
Jun 26 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1256 onlystupidspamhere yahoo.se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --
Jun 26 2007