[Bug 298] New: dub 1.10 compilation bug

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sat Jul 14 17:07:02 UTC 2018


https://bugzilla.gdcproject.org/show_bug.cgi?id=298

            Bug ID: 298
           Summary: dub 1.10 compilation bug
           Product: GDC
           Version: development
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: belka at caraus.de

module dub.generators.generator;

struct Package
{
    @property string name() const
    {
        return null;
    }
}

void ProjectGenerator()
{
    string[string] targets;

    void collectDependencies(ref string)
    {
    }

    collectDependencies(targets[Package.init.name]);
}

gives:

    source/dub/generators/generator.d: In function ‘ProjectGenerator’:
    source/dub/generators/generator.d:19:24: internal compiler error: in
add_expr, at tree.c:7454
    collectDependencies(targets[Package.init.name]);
    ^
    0x6f7308 ???
    ../sysdeps/x86_64/start.S:118

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the D.gnu mailing list