[Issue 13130] New: Syntax check fails when this is used as argument type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 14 03:41:55 PDT 2014


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

          Issue ID: 13130
           Summary: Syntax check fails when this is used as argument type
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P1
         Component: VisualD
          Assignee: nobody at puremagic.com
          Reporter: code at benjamin-thaut.de

The following class causes the VisualD syntax checker to highlight the
constructor as syntactically incorrect although it is syntactically correct and
compiles just fine.


class Foo
{
public:
  this(this other)
  {
  }
}

--


More information about the Digitalmars-d-bugs mailing list