Scheme crashes when parsing specific partial expression

Issue #42 resolved
Katie Burke created an issue

I happened to enter the following by accident:

(1 . #t 

This should just produce an error like "ReadError: unexpected end of input", but instead, Calico crashes. I'm not sure why.

Comments (5)

  1. Doug Blank

    That was a great bug! It turned out to be an ambiguous "else" dangling that was associated with the wrong "if"... I now will practice what I preach and always use curly braces! None are optional! Granted this was in generated code, but this took hours to find the issue (worked fine when running in Petite, not so much when running in C#).

  2. Log in to comment