https://issues.dlang.org/show_bug.cgi?id=3651
Walter Bright changed:
What|Removed |Added
Version|1.054 |D1
--
http://d.puremagic.com/issues/show_bug.cgi?id=3651
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3651
--- Comment #5 from nfx...@gmail.com 2010-01-28 01:14:41 PST ---
>typeof(item) is int, not foo.
Even then, typeof(foo) is foo, and not int. It's only logical that foo.mangleof
should be the mangle for foo, not int.
I don't know about item.mang
http://d.puremagic.com/issues/show_bug.cgi?id=3651
--- Comment #4 from Don 2010-01-28 01:05:28 PST ---
(In reply to comment #3)
> @Don: I'm pretty sure my bug report is correct. enums are the *only* type that
> behave different here. Further, if you get the mangle of a function or
> template
>
http://d.puremagic.com/issues/show_bug.cgi?id=3651
--- Comment #3 from nfx...@gmail.com 2010-01-28 00:55:57 PST ---
@Don: I'm pretty sure my bug report is correct. enums are the *only* type that
behave different here. Further, if you get the mangle of a function or template
that use enums as par
http://d.puremagic.com/issues/show_bug.cgi?id=3651
Don changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
--- Comment #2 from Don 2
http://d.puremagic.com/issues/show_bug.cgi?id=3651
--- Comment #1 from mpi...@gmail.com 2010-01-14 05:43:12 PST ---
Created an attachment (id=549)
Patch
Patch against dmd 1.055.
The problem is that mangleof is executed on the enum member type, not the enum
type itself.
--
Configure issuemail: