Skip to content

Nested quotes #612

@yrashk

Description

@yrashk

For a long time I've been wondering whether this is a bug or a feature:

iex(1)> a = 1
1
iex(2)> quote do
...(2)>   b = a
...(2)>   quote do: unquote(b)
...(2)> end
** (UndefinedFunctionError) undefined function: IEx.Helpers.b/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