Skip to content

Macro.expand(quote(do: __ENV__), __ENV__) now with lexical_tracker #12299

@hissssst

Description

@hissssst

Elixir and Erlang/OTP versions

1.14.2

Operating system

linux

Current behavior

Macro.expand(quote(do: __ENV__), %{__ENV__ | lexical_tracker: self()})

Returns AST with pid inside which is not an AST defined in Macro.t

Expected behavior

Macro.expand(quote(do: __ENV__), %{__ENV__ | lexical_tracker: self()})

Returns correct AST

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