http://d.puremagic.com/issues/show_bug.cgi?id=3215
Summary: class method return ref but without any typename get compiled Product: D Version: 2.031 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzi...@digitalmars.com ReportedBy: samhu.sa...@gmail.com With below code: class A { } class B { public: ref A createA() // ****without type name A is also OK.**** { return new A;//q1 } } Don't know whether this is a feature or a bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------