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
While in the above example the infinite recursion is obvious it usually happens to me if I have a method that returns a local variable with the same name as the method and I comment out the code that initializes that variable.
I'm not sure what Crystal should do best in this case, but at least giving an error message instead of crashing would be helpful.
The text was updated successfully, but these errors were encountered:
The following code crashes the crystal compiler (both master @ 8d28cbb and 0.25.1):
Crash output:
While in the above example the infinite recursion is obvious it usually happens to me if I have a method that returns a local variable with the same name as the method and I comment out the code that initializes that variable.
I'm not sure what Crystal should do best in this case, but at least giving an error message instead of crashing would be helpful.
The text was updated successfully, but these errors were encountered: