www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19076] New: dmd 2.081 crashed by getVirtualFunctions for a

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

          Issue ID: 19076
           Summary: dmd 2.081 crashed by getVirtualFunctions for a
                    interface extended interface
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: kntroh gmail.com

dmd v2.081.0-1 / Windows 10(1803) x86_64

This code causes the compiler to crash.
dmd 2.080.1 hasn't this problem.

---
interface P { }
interface I : P { }
auto F = __traits(getVirtualFunctions, I, "V");

--
Jul 11 2018