Rainer Schuetze <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #3 from Rainer Schuetze <> 2010-02-13 01:27:59 
PST ---
Here's a test case closely related that's been bugging me:

--- test.d
void foo_a(int a) {}
void foo_b(int b) {}

pragma(msg,"foo_a: " ~ typeof(&foo_a).stringof);
pragma(msg,"foo_b: " ~ typeof(&foo_b).stringof);

--- dmd -c test.d
foo_a: void function(int a)
foo_b: void function(int a)

I'd suggest removing the argument identifiers from the stringof (as the
suggestion of converting back the deco would do); it's not part of the type.

Unfortunately this disables some ctfe magic accessing function arguments (but
that also badly fails sometimes due to this problem). So some fail-safe way to
get the argument identifiers for ctfe would be nice...

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to