Closed blazerw closed 5 years ago
Does that mean ICR will become incompatible with Crystal 0.26?
Maybe? My ICR works currently with 0.26. I haven't tried 0.27 yet. I was waiting on the homebrew PR to be merged. If that's the case, maybe we can add a macro to require it conditionally based on the crystal version? Then deprecate it for when 0.28 comes out?
Just tested it. This is the only incompatibility with 0.27.0
in src/icr.cr:2: while requiring "tempfile": can't find file 'tempfile'
i will prepare a new release.
'tempfile' is no longer 'require'd.
It appears that 'tempfile' is either required by default or part of Crystal 0.27 core. Removing the 'require' results in a successful compile and a working
icr
.