Skip to content

an option to force parsing if required #45

@oxinabox

Description

@oxinabox

It seems that Revise has some heuristics to bail out of some of its get_def calls,
if it looks like it is going to be too much work.
https://github.com/timholy/Revise.jl/blob/d160813bed054d80fe29854a3178fb726b3e808b/src/Revise.jl#L813
A sensible thing for Revise to do.

but when i call definition, I wish I could tell it:
that "No, I really do want the definition, no matter how much it costs",

This seems fiddly to reproduce.
Sometimes it shows up when I do

using CodeTracking
using Revise: Revise  # Revise must be loaded for CodeTracking to work

definition(@which(1.0+2))

and some times it doesn't and that just works.

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