Crystal Forum
`if <conditional> true else <falsy> end` throwing error
Help & Support
asterite
May 12, 2021, 9:40am
2
It’s a bug. I think none should compile, you need a semicolon in every case.
6 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to Bool
Help & Support
5
351
July 23, 2023
Conditional code shadows __LINE__
Help & Support
2
120
April 22, 2024
Strange error msg
Crystal Contrib
3
441
July 28, 2019
Nil check syntax confusion
Help & Support
5
405
August 28, 2021
Does a method that ends with a question mark?
Community
2
892
December 19, 2019