Skip to content

@code_string output includes comment after function #143

@ajinkya-k

Description

@ajinkya-k

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions