Skip to content

using xxx badly interacts with evaled expressions #43446

Closed
@aviatesk

Description

@aviatesk

MRE:

julia> using JET                        # JET is in the current environment

julia> @eval JET using JuliaInterpreter # JuliaInterpreter is not listed in the current environment, but is a dependency of JET
 │ Package JuliaInterpreter not found, but a package named JuliaInterpreter is available from a registry. 
 │ Install package?
 │   (@v1.8) pkg> add JuliaInterpreter 
 └ (y/n/o) [y]: n

Since using JuliaInterpreter doesn't require package installation inside the module context of JET,
we ideally want to avoid the package installation suggestion in above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions