#1057 compiler bug in exprOrLocalDefStmt

jessevdam Sat 3 Apr 2010

The following script succesfully compile while it should not

class Test {

Void main()
{
  Int :=  5;
}

}

brian Sat 3 Apr 2010

Promoted to ticket #1057 and assigned to brian

brian Thu 6 May 2010

Ticket resolved in 1.0.53

Well technically that code is actually legal which declares a local variable called "Int". But since that is sort of wacked, I made it an error - you can't declare a local variable that way using a type name in scope.

Login or Signup to reply.