http://d.puremagic.com/issues/show_bug.cgi?id=9062
--- Comment #8 from timon.g...@gmx.ch 2012-11-23 05:41:30 PST --- (In reply to comment #7) > (In reply to comment #6) > > > Then, there is no way to get a function pointer from property function, > > > right? > > > ... > > > > ()ref => foo > > It looks like a lambda. Is it same as this? > > ref __lambda() { return foo; } > Yes, it is the same as &__lambda, where __lambda is static ref __lambda() { return foo; } (the fact that the parser chokes on ref-qualified function/delegate literals and function/delegate types is another bug.) > But, on the return statement, foo is translated to foo(). It seems not > possible. &__lambda is a function pointer. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------