Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
BUG: Ternary operator in DS def if statement busts compiler #9244
What did you do?
A simple def in DS with some if statements and a ternary operator.
What did you expect to see?
For DS to break without any rhyme or reason, like it usually does.
What did you see instead?
I saw exactly what I expected, another busted feature of the language. No warnings. No exceptions. Where's the bin?...
Try it for yourself: