[Issue 2774] Functions-as-properties makes it impossible to get the .mangleof a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 31 18:12:56 PDT 2009


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





------- Comment #1 from jarrett.billingsley at gmail.com  2009-03-31 20:13 -------
OK, so you can find out the ref-ness of params from (&foo).mangleof, but the
name and the member-ness are still both lost.  

class A { void foo() {} static void bar() {} }
pragma(msg, (&A.foo).mangleof); // prints PFZv
pragma(msg, (&A.bar).mangleof); // also prints PFZv


-- 



More information about the Digitalmars-d-bugs mailing list