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
With Crystal 0.11.0, running the following program with no arguments will segfault when trying to access Test.logger. There are two ways to workaround the bug: 1. pass an argument to the program, which will set Test.logger, or 2. remove the Test.logger = Logger.new(file) line.
Ouch, that's an ugly regression. My fault, I changed this line. There was even a spec for this but I decided to remove it because I couldn't find the logic in it. I re-added the spec tied to this issue, and added some comments.
With these regressions a 0.11.1 (or 0.12.0) will come out soon.
With Crystal 0.11.0, running the following program with no arguments will segfault when trying to access
Test.logger
. There are two ways to workaround the bug: 1. pass an argument to the program, which will setTest.logger
, or 2. remove theTest.logger = Logger.new(file)
line.Note that in doesn't fail with Crystal 0.10.2.
The text was updated successfully, but these errors were encountered: