← Back to index
|
Original Bugzilla link
Bug 6780 – Templated global property functions do not work
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-10-07T10:39:00Z
Last change time
2012-02-08T03:30:16Z
Keywords
patch, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2011-10-07T10:39:32Z
@property int foo()(){ return 10; } int g; @property void bar()(int n){ g = n; } void main() { auto n = foo; assert(n == 10); bar = 10; assert(g == 10); }
Comment #1
by k.hara.pg — 2011-10-08T14:05:03Z
https://github.com/D-Programming-Language/dmd/pull/280
Comment #2
by github-bugzilla — 2012-01-26T12:06:27Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/a08a5bb9394c3b46e3cca6bee1c90922bc0e9da2
Issue 6780 - Templated global property functions do not work
Comment #3
by andrej.mitrovich — 2012-02-08T03:30:16Z
This seems to contradict Issue 3204?