#1066 Double ?? are allowed when defining type which should not

jessevdam Wed 7 Apr 2010

The following statement is allowed which should not

Int?? test2

If we have


then this is currently interpreted as


due to this bug

This could also be interpreted as


but I do not know what is should do, following the bnf grammer is should do this.

Following the bnf grammer then will


interpreted as


current implementation will do


brian Sat 10 Apr 2010

Promoted to ticket #1066 and assigned to brian

brian Thu 6 May 2010

Ticket resolved in 1.0.53

Yeah that problem slipped thru the way the parser code was organized for parsing things like Foo?[]?, but I added an explicit check to disallow that condition.

Login or Signup to reply.