Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Crystal 1.13 regression issue #89

Merged
merged 5 commits into from
Jun 15, 2024
Merged

Fixes Crystal 1.13 regression issue #89

merged 5 commits into from
Jun 15, 2024

Conversation

jwoertink
Copy link
Member

Fixes #88

See comments in #88 for a more in-depth context.

TL;DR We used to use Nil.id to check for nilable types, but the next Crystal release 1.13 will require "::Nil".id

/cc @straight-shoota

src/habitat.cr Outdated Show resolved Hide resolved
src/habitat.cr Outdated Show resolved Hide resolved
src/habitat.cr Outdated Show resolved Hide resolved
@jwoertink
Copy link
Member Author

@matthewmcgarvey good catch! That is a much nicer fix, and seems to work 🙌

@jwoertink jwoertink merged commit 2b4ee9e into main Jun 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specs are broken on Crystal master
2 participants