CodeTracking.jl
CodeTracking.jl copied to clipboard
@code_string output includes comment after function
I noticed that the @code_string macro includes comment AFTER the function source in the output. Is this expected behavior?
Here is an example:
julia> using LinearAlgebra
julia> using CodeTracking
julia> @code_string qr(X)
"function qr(A::AbstractMatrix{T}, arg...; kwargs...) where T\n require_one_based_indexing(A)\n AA = copy_similar(A, _qreltype(T))\n return _qr(AA, arg...; kwargs...)\nend\n# TODO: remove in Julia v2.0"
See https://github.com/JuliaLang/JuliaSyntax.jl/issues/316#issuecomment-1870294857 and https://github.com/JuliaLang/JuliaSyntax.jl/pull/493