Acknowledged

Conditionals bug in SDK 8.0.0

I'm seeing a new bug in SDK 8.0.0 beta with conditionals that I can't replicate in 7.4.3. In the following statement:


var foo = '#';

var bar =
foo == '#' ? :hashtag :
foo == ' ' ? :space :
foo == '\t' ? :tab :
:other;

I would expect the value of bar to be :hashtag at the end. In 7.4.3, this is the case. But in 8.0.0 beta, the value of bar is :tab oddly.

I can workaround by converting the big conditional statement into if-else statements.