[Issue 8257] __traits(compiles) gives compile error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 20 20:27:33 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8257
--- Comment #2 from github-bugzilla at puremagic.com 2012-10-20 20:27:21 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/95d00b2f0ae25d74e0091d17d5537232b8339fd4
Fix issue 8257 __traits(compiles) gives compile error
& v.staticfunc is a function pointer, not a delegate.
Change it into (v, &typeof(v).staticfunc)
https://github.com/D-Programming-Language/dmd/commit/349edf2f8fa130d49ce2361aad2ffa03f6cd55a7
Merge pull request #1194 from donc/bug8257_delegate_nonstatic
8257 x.staticfunc() is a function pointer, not a delegate
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list