digitalmars.D.bugs - [Issue 8826] New: PostExpression cannot follow NewExpression
- d-bugmail puremagic.com (32/32) Oct 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8826
- d-bugmail puremagic.com (12/12) Jan 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8826
http://d.puremagic.com/issues/show_bug.cgi?id=8826 Summary: PostExpression cannot follow NewExpression Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: aziz.koeksal gmail.com PDT --- class X { int a; this(int a) {} X opCall(X other) { return this; } } auto x = new X(3)(null); // Error: semicolon expected following auto declaration, not '(' auto a = new X(3).a; // Error: semicolon expected following auto declaration, not '.' // Wrapping with parentheses works. Would be neat if this wasn't necessary. auto a = (new X(3)).a; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8826 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 8635 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 07 2013