The Crystal language version hosted is 1.2.2, which is over 2 years old now

Please update to a newer version, such as 1.10. As a young language, there are frequent bugfixes and updates to Crystal, and repl.it is missing most of them.

I encountered a bug in Crystal’s JSON component (which has already been fixed in later versions), where it crashes when converting numbers to Floats.

2 Likes