Open MilesCranmer opened 4 weeks ago
julia> using JuliaFormatter julia> format_text("T <: Tuple #=e.g., Tuple{Union{Float32,Float64}}=# && !(T isa Union) #= e.g., Union{Tuple{A},Tuple{B}}=#") "T <: Tuple && !(T isa Union) #= e.g., Union{Tuple{A},Tuple{B}}=#"
Seems to strip the first inline comment completely
I think I can get this to work in the rewrite to JuliaSyntax
Seems to strip the first inline comment completely