JuliaFormatter.jl
JuliaFormatter.jl copied to clipboard
Error with indexing string literal
JuliaFormatter does not recognise indexing of string literals. MWE:
x=v"1.0"
println("$x"[1:end-2])
It errors with
ERROR: LoadError: TypeError: in typeassert, expected String, got a value of typeSubString{String}