www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13130] New: Syntax check fails when this is used as argument

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 puremagic.com
          Reporter: code 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)
  {
  }
}

--
Jul 14 2014