╰─ $ shards update
Resolving dependencies
Fetching https://github.com/crystal-ameba/ameba.git
Fetching https://github.com/crystal-loot/webdrivers.cr.git
Fetching https://github.com/luckyframework/habitat.git
Fetching https://github.com/naqvis/crystar.git
Using habitat (0.4.7)
Using crystar (0.2.0 at 56db8bb)
Using webdrivers (0.4.2)
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_139678960210816'
Code in /home/zw963/Crystal/share/crystal/src/yaml/serialization.cr:188:7
188 | {% begin %}
^
Called macro defined in /home/zw963/Crystal/share/crystal/src/yaml/serialization.cr:188:7
188 | {% begin %}
Which expanded to:
> 75 |
> 76 |
> 77 | __temp_722 =
^
Error: type must be Ameba::Severity, not (Ameba::Severity | Nil)
make: *** [Makefile:9: build] Error 1
Check https://github.com/crystal-ameba/ameba/pull/373
BTW: fixed on ameba 1.5.0