Skip to content

@trace function definition #1683

@avik-pal

Description

@avik-pal
@trace function foo(x, y)
       return x .+ y
end

into something like

function foo(x, y)
	if ReactantCore.within_compile()
        return traced_call(foo_internal, x, y)
    else
        return foo_internal(x, y)
    end
end

function foo_internal(x, y)
       return x .+ y
end

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