Re: mangledName!(U) not working?

2011-01-01 Thread Sean Kelly
%u Wrote: > Hi all, > > I'm trying the code below: > > class Temp > { > int field; > pragma(msg, mangledName!(field)); > } > > and getting this printed: "DummyS25_D4ntfs5types4Temp5fieldi" > > Obviously this isn't correct (the "Dummy" should've been removed)... so am I > missing so

Re: mangledName!(U) not working?

2010-12-31 Thread Andrej Mitrovic
I think I've run into the same issue: www.mail-archive.com/digitalmars-d@puremagic.com/msg45256.html std.demangle will be updated in the next release, otherwise you have to use core.demangle for now. On 1/1/11, %u wrote: > Hi all, > > I'm trying the code below: > > class Temp > { > int fie

mangledName!(U) not working?

2010-12-31 Thread %u
Hi all, I'm trying the code below: class Temp { int field; pragma(msg, mangledName!(field)); } and getting this printed: "DummyS25_D4ntfs5types4Temp5fieldi" Obviously this isn't correct (the "Dummy" should've been removed)... so am I missing something, or is this a bug? I search