[Issue 10401] New: ICE(ztc/symbol.c 1035) - inline Nullable struct with JSONValue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 18 04:57:11 PDT 2013


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

           Summary: ICE(ztc/symbol.c 1035) - inline Nullable struct with
                    JSONValue
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kroeplin.d at googlemail.com


--- Comment #0 from Mario Kroeplin <kroeplin.d at googlemail.com> 2013-06-18 04:57:10 PDT ---
With D 2.063 and D 2.063.2 the following code does no longer compile with
switch '-inline':

import std.json;
import std.typecons;

struct S
{
    JSONValue value;
}

void f(Nullable!S s) { }

The error message is:
Internal error: ../ztc/symbol.c 1035

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