[Issue 6902] Different "pure nothrow int()" types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 21 23:02:50 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6902
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Kenji Hara <k.hara.pg at gmail.com> 2013-01-21 23:02:46 PST ---
(In reply to comment #6)
> cat > bug.d << CODE
> void a()
> {
> function void() { }();
> }
>
> void b()
> {
> static void safe_nothrow() @safe nothrow pure { }
> auto f = &safe_nothrow;
> enum mangle = typeof(*f).mangleof;
> static assert(mangle == "FNaNbNfZv", mangle);
> }
> CODE
>
> dmd -c bug
>
> ----
>
> I've actually found a new failing test case for this.
It is a dup of bug 8504. Pull #1096 will fix the issue.
--
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