Fail to compile on crystal 0.25
Closed this issue ยท 8 comments
Hi,
neph
fails to compile on last crystal.
crystal 0.25.0
has been released 4 days ago and removed YAML::Type
.
Regards,
๐ but if a release could be made with this it could help me work on https://github.com/tbrand/which_is_the_fastest ๐
@tbrand At least, I can downgrade crystal
@tbrand not a problem for me ๐ as I can downgrade on my distribution
, however the more important will be when CI will update the crystal
image
Thanks!
@waghanza @tbrand
I've waited for crystal 0.25
to be available in the Arch Linux repos.
Maybe it could be released earlier before the CI output mode is implemented.
Unfortunately, the new branch also uses YAML::Type
.
Crystal 0.25 has also YAML::Type
.
The change is that e.g. YAML::Any#to_a
returns an Array(YAML::Any)
instead of Array(YAML::Type)
.
If somebody want to help porting to Crystal 0.25, the changes needed are mostly replacing YAML::Type
with YAML::Any
in some places, and invoking #to_s
, #to_a
, #to_h
etc. when accessing Array
or Hash
items.