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 Crystal 1.9.0. Either by installing Ameba with brew or shards I have the following error :
❯ shards install
Resolving dependencies
Fetching https://github.com/crystal-ameba/ameba.git
Fetching https://gitlab.com/arctic-fox/spectator.git
Installing ameba (1.4.3)
Postinstall of ameba: make bin && make run_file
Failed postinstall of ameba on make bin && make run_file:
shards build -Dpreview_mt
Dependencies are satisfied
Building: ameba
Error target ameba failed to compile:
Showing last frame. Use --error-trace for full trace.
There was a problem expanding macro 'macro_5141739712'
Code in /usr/local/Cellar/crystal/1.9.0/share/crystal/src/yaml/serialization.cr:188:7
188 | {% begin %}
^
Called macro defined in /usr/local/Cellar/crystal/1.9.0/share/crystal/src/yaml/serialization.cr:188:7
188 | {% begin %}
Which expanded to:
> 69 |> 70 |> 71 | __temp_735 =
^
Error: type must be Ameba::Severity, not (Ameba::Severity | Nil)
make[1]: *** [build] Error 1
make: *** [init] Error 1
The text was updated successfully, but these errors were encountered:
Hi,
I have Crystal 1.9.0. Either by installing Ameba with
brew
orshards
I have the following error :The text was updated successfully, but these errors were encountered: