clojurescript

magra 2025-07-23T16:14:22.187969Z

I am using clojurescript 1.12.42 When I define (ns test (:require [other :as-alias o]) ::o/something evaluates to :other/something but o/something` resolves to o/something. This should have been fixed in https://clojure.atlassian.net/browse/CLJS-3399 Is this a regression or have I messed up my tooling? Easier to reproduce at the repl with (require '[clojure.core :as-alias c]). Then test c/x` and ::c/x.

p-himik 2025-07-23T16:18:16.175449Z

ClojureScript 1.12.42
cljs.user=> (require '[clojure.string :as str])
nil
cljs.user=> ::str/x
:clojure.string/x
cljs.user=> `str/x
clojure.string/x

p-himik 2025-07-23T16:19:04.400999Z

Are you absolutely certain your CLJS version in the REPL is 1.12.42? What does *clojurescript-version* return?

magra 2025-07-23T16:21:38.158839Z

cljs.user> clojurescript-version "1.12.42"

p-himik 2025-07-23T16:22:22.623419Z

And what kind of REPL is that? Definitely not the vanilla one since your prompt is different than mine.

magra 2025-07-23T16:25:14.318239Z

Shadow-cljs from Emacs into a chrome browser.

magra 2025-07-23T16:27:09.953519Z

I will continue debugging in that direction then. Thanx!!!!!

magra 2025-07-23T16:34:10.754439Z

Could you please try the above again but use :as-alias, not :as?

magra 2025-07-23T16:36:59.664369Z

@p-himik Sorry, I meant :as-alias, not :as. :as works fine here too.

magra 2025-07-23T17:02:17.121689Z

Sorry for the noise. Something pulled in clojurescript 1.11. Thanx again!!!

p-himik 2025-07-23T17:24:00.455199Z

Ah, :as-alias, right. I noticed it but somehow tested for :as only. Glad it worked out.