[Issue 10722] Regression (2.064 git-head): Cannot interpret struct at compile-time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 12 12:37:35 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10722


Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com


--- Comment #4 from Jacob Carlborg <doob at me.com> 2013-09-12 12:37:34 PDT ---
(In reply to comment #3)
> Commits pushed to master at https://github.com/D-Programming-Language/dmd
> 
> https://github.com/D-Programming-Language/dmd/commit/a8d1df98864cd27d14da2ac7477ed53a9ec223f5
> fix Issue 10722 - Regression (2.064 git-head): Cannot interpret struct at
> compile-time
> 
> https://github.com/D-Programming-Language/dmd/commit/aa8b1b8797f0faa26637bddd4cf30940ec43b471
> Merge pull request #2477 from 9rnsr/fix10722
> 
> [REG2.064a] Issue 10722 - Cannot interpret struct at compile-time

This fix has changed the behavior of .stringof. Before the fix:

struct Foo
{
    int a;
}

static assert(Foo.tupleof[0].stringof == "(Foo).a");

After the fix:

static assert(Foo.tupleof[0].stringof == "a");

This has broken my library Orange, which is being integrated as
std.serialization.

-- 
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