Skip to content

cider-repl-set-ns changes repl session from cljs:shadow to clj #3236

@kakaLQY

Description

@kakaLQY

Expected behavior

cider-repl-set-ns should not change the cider-repl session type.

Actual behavior

cider-repl-set-ns in a cljs:shadow session will change the session type to clj.

Steps to reproduce the problem

In a shadow-cljs project, run cider-repl-set-ns. The cider-repl session will be changed from cljs:shadow to clj by checking with sesman-browser.

Environment & Version information

CIDER version information

;; CIDER 1.5.0-snapshot (package: 1.5.0-snapshot), nREPL 0.9.0
;; Clojure 1.10.3, Java 11.0.15

Lein / Clojure CLI version

1.11.1

Emacs version

28.1

Operating system

NixOS

JDK distribution

openjdk version "11.0.15" 2022-04-19

Hints

It seems the bug is introduced by 5f705b0, as after reverted, the bug will be gone.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions