www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 298] New: dub 1.10 compilation bug

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 gdcproject.org
          Reporter: belka 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.
Jul 14 2018