Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

InstaREPL doesn't respect :refer-clojure :exclude libraries #41

@cakenggt

Description

@cakenggt

The InstaREPL does not correctly exclude core libraries when they are excluded in the ns tag with :refer-clojure :exclude

Steps to reproduce:

  1. Execute lien new app exclude-test
  2. Go into src/exclude_test/core.clj and turn InstaREPL on
  3. Change the contents of the file to the following
(ns exclude-test.core
  (:refer-clojure :exclude [println])
  (:gen-class))

println

(defn -main
  "I don't do a whole lot ... yet."
  [& args]
  (println "Hello, World!"))
  1. See that the println line references clojure.core instead of nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions