http://d.puremagic.com/issues/show_bug.cgi?id=10842



--- Comment #2 from [email protected] 2013-08-17 18:58:29 PDT ---
> If you change the return to an explicit expression, e.g. `return ""`, then the
> assert is triggered.

In my case I want to make it work with arbitrary types, not just strings, do
you have a suggestion for this?

(
I just posted a suggestion here:
http://forum.dlang.org/thread/[email protected]
"how to get enclosing function as symbol ? (eg: __function__.stringof
==__FUNCTION__)"
which would allow this among other things.
)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to