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
Comment #2 by github-bugzilla — 2012-01-26T12:06:27Z
Comment #3 by andrej.mitrovich — 2012-02-08T03:30:16Z
This seems to contradict Issue 3204?