The following script succesfully compile while it should not
class Test {
Void main()
{
Int := 5;
}
}
brianSat 3 Apr 2010
Promoted to ticket #1057 and assigned to brian
brianThu 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.
jessevdam Sat 3 Apr 2010
The following script succesfully compile while it should not
class Test {
}
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.