crystal tool format doesn't work within nested macros
yanecc opened this issue · comments
Sunrise commented
Bug Report
crystal tool format doesn't work within nested macros
{% if flag?(:windows) %}
{% if compare_versions(Crystal::VERSION, "1.5.0") >= 0 %}
File.delete? path
{% else %}
File.delete path if File.exists? path
{% end %}
{% end %}
Crystal 1.12.1 [4cea101] (2024-04-11)
LLVM: 18.1.1
Default target: x86_64-pc-windows-msvc