[Issue 10484] New: [2.064alpha]8635:postfix expressions for new without parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 26 20:30:30 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10484
Summary: [2.064alpha]8635:postfix expressions for new without
parameter
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: kekeniro2 at yahoo.co.jp
Depends on: 8635
--- Comment #0 from kekeniro2 at yahoo.co.jp 2013-06-26 20:30:25 PDT ---
void main() {
auto a1 = (new Object()).toString; // OK
auto a2 = (new Object).toString; // OK
auto b1 = new Object().toString; // 2.064 OK
auto b2 = new Object.toString; // error
}
Enhance 8635 allows b1.
So I think b2 should also be allowed.
--
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