[Issue 5718] Can't demangle symbol defined inside unittest block
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Jan 31 01:55:38 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=5718
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2012-01-31 01:55:27 PST ---
This appears to be a problem with std.traits.mangledName, as:
  import std.stdio, std.traits, std.demangle;
  unittest
  {
    int foo;
    writeln( foo.mangleof );
    writeln( mangledName!foo );
  }
  void main(){}
prints:
  _D3foo11__unittest1FZv3fooi
  0__T5DummyS27_D3foo11__unittest1FZv3fooi
-- 
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