www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22085] New: checkaction=context doesn't support extern(C++)

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

          Issue ID: 22085
           Summary: checkaction=context doesn't support extern(C++)
                    classes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: moonlightsentinel disroot.org

-checkaction=context doesn't format extern(C++) classes, e.g. instances of the
following class will only be formatted as `Cpp`

extern(C++) class Cpp
{
    int a;
    this(int a) { this.a = a; }
}

--
Jun 26