-
Notifications
You must be signed in to change notification settings - Fork 6
deps alias ordering #2246
Copy link
Copy link
Closed
Labels
bugMarks issues describing bugsMarks issues describing bugsreleasedMarks issues which have had the fixes released in a stable buildMarks issues which have had the fixes released in a stable build
Milestone
Metadata
Metadata
Assignees
Labels
bugMarks issues describing bugsMarks issues describing bugsreleasedMarks issues which have had the fixes released in a stable buildMarks issues which have had the fixes released in a stable build
The ordering of aliases in REPL configuration doesn't appear to be honored.
Repro:
deps.edn:{:aliases {:a {:main-opts ["-e" "1"]} :b {:main-opts ["-e" "2"]}}}If you use
cljdirectly, you can observe the effect of alias ordering:But, if you set up a project in Cursive with this
deps.ednand then set up a REPL and configure it to "Run with Deps" specifying Alises as eitherb,aora,bin both cases when launching the REPL, I see it printing1.The latter—with the order
a,b—should print2.Rationale: See https://clojure.org/reference/deps_and_cli where it indicates
This is with Cursive v1.8.2-2019.1.