← Back to index
|
Original Bugzilla link
Bug 3003 – Need to implicitly add () on member template function calls
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-05-17T12:49:00Z
Last change time
2015-06-09T05:15:24Z
Assigned to
nobody
Creator
bugzilla
Comments
Comment #0
by bugzilla — 2009-05-17T12:49:38Z
The following should work: struct Foo { char[] byLine()() { return null; } } void main() { Foo foo; foreach (char c; foo.byLine) { } }
Comment #1
by bugzilla — 2009-07-09T02:50:01Z
Fixed dmd 1.046 and 2.031