www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22780] New: [REG 2.090] variable reference to scope class

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

          Issue ID: 22780
           Summary: [REG 2.090] variable reference to scope class must be
                    scope
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

---
scope class C10717 { }

void test10717()
{
    C10717 c;
}
---

Caused by https://github.com/dlang/dmd/pull/10717

--
Feb 16 2022