#1705 small ternary operator issue

kaushik Mon 21 Nov 2011

Don't know if it's already been filed.

a==null?-1:a

dosen't compile

while

a==null? -1:a 

or

a==null?1:a

compiles fine. Something to do with "-" being next to ?

brian Mon 28 Nov 2011

@kaushik - thanks for reporting. I pushed a fix

Login or Signup to reply.