May 17, 2009 [Issue 3003] New: Need to implicitly add () on member template function calls | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3003 Summary: Need to implicitly add () on member template function calls Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: bugzilla@digitalmars.com The following should work: struct Foo { char[] byLine()() { return null; } } void main() { Foo foo; foreach (char c; foo.byLine) { } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 09, 2009 [Issue 3003] Need to implicitly add () on member template function calls | ||||
---|---|---|---|---|
| ||||
Posted in reply to bugzilla@digitalmars.com | http://d.puremagic.com/issues/show_bug.cgi?id=3003 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2009-07-09 02:50:01 PDT --- Fixed dmd 1.046 and 2.031 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation