[Issue 20057] New: [REG master] compiler hang on conclicting local and imported symbol

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 16 21:19:49 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20057

          Issue ID: 20057
           Summary: [REG master] compiler hang on conclicting local and
                    imported symbol
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice, ice-on-invalid-code
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

Regression in DMD master, the following code used to be rejected quickly now it
hangs the compiler:

---
struct BlackHole(alias T){ T t;}
import std.typecons: BlackHole;

extern(C++) interface Inter
{
    void func();
}

BlackHole!Inter var;    
---

--


More information about the Digitalmars-d-bugs mailing list