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
I have upgraded Crystal version to the new 1.9.0 and got this error (logs):
Building: ameba
Error target ameba failed to compile:
Showing last frame. Use --error-trace for full trace.
There was a problem expanding macro 'macro_139947943079200'
Code in /home/runner/work/_temp/crystal-1.9-true-undefined/share/crystal/src/yaml/serialization.cr:188:7
188 | {% begin %}
^
Called macro defined in /home/runner/work/_temp/crystal-1.9-true-undefined/share/crystal/src/yaml/serialization.cr:188:7
188 | {% begin %}
Which expanded to:
> 69 |
> 70 |
> 71 | __temp_722 =
^
Error: type must be Ameba::Severity, not (Ameba::Severity | Nil)
I guess that ameba hasn't yet been tested against Crystal 1.9, so I report this issue. I'll be glad to provide any help from my side.
The text was updated successfully, but these errors were encountered:
It can't compile on crystal 1.9+ but has been fixed after v1.4.3. A new
release is coming 'soon' though, but this blocks easliy going to
crystal 1.9. It would be possible to have the flake build ameba with 1.8
and have the default crystal be 1.9, but that's more work.
ref: crystal-ameba/ameba#389
I have upgraded Crystal version to the new 1.9.0 and got this error (logs):
I guess that ameba hasn't yet been tested against Crystal 1.9, so I report this issue. I'll be glad to provide any help from my side.
The text was updated successfully, but these errors were encountered: