Skip to content

Support extra line/column offset for expressions evaluated via REPL #67

@borkdude

Description

@borkdude

When evaluating an expression in the (n)REPL, the location metadata of a newly defined var is off, since the reader always starts reading at line 1/column 1. This is the same behavior as Clojure, but nREPL works around this by using some workarounds/hacks on Clojure's reader. We could properly support, perhaps by letting edamame receive an offset which it can add to metadata.

cc @daveliepmann @vemv

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