www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11538] New: recursive NullableRef fails


           Summary: recursive NullableRef fails
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: ilyayaroshenko gmail.com

--- Comment #0 from Илья Ярошенко <ilyayaroshenko gmail.com>
2013-11-18 04:45:54 PST ---
import std.stdio;

import std.typecons;

struct IMSGeo
    ulong code;
    string name;
    string nameRU;
    NullableRef!IMSGeo parent;
    IMSGeo[] children;

void main()
    writeln("Edit source/app.d to start your project.");
______________________________ Ubuntu64 13.10
Building configuration "application", build type debug
Error: DMD compile run failed with exit code -11

Run 'dub help' for usage information.
[Finished in 14.2s with exit code 1]

Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 18 2013