@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); }
https://github.com/D-Programming-Language/dmd/pull/280
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
This seems to contradict Issue 3204?