You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report, especially the sample! There was a gap in my tests, and it made me think I could be clever and get by without doing a type assertion when evaluating logical operators. For whatever reason, nobody's hit this case until today.
Ought to be fixed as of dc6cef2, I added test cases for your examples and everything ought to work as expected. Let me know if you have any problems with the master branch.
Hello
|| and && operators does not seems to work as expected
this code will evaluate
false
for the first result, andtrue
for the second one.The text was updated successfully, but these errors were encountered: