clojure.repl/source chokes when reading code with ::auto/resolved keys

Description

Reproduction

foo.clj

repl

Problem analysis
source calls read, without any underlying binding or notion of Compiler.currentNS(), which causes aliased keywords to fail to resolve.

Possible solution
Bind *reader-resolver* to the following before reading:

Aside, the logic inside source-fn can be simplified with read+string, modulo CLJ-2358

Environment

None

Assignee

Unassigned

Reporter

Ghadi Shayban

Labels

None

Approval

None

Patch

None

Priority

Minor
Configure