Re: variable name duplicate

2022-07-30 Thread vinurs
but, in this situation i cant write code like this? (let [user-id 1 user_id 2] (log/info user-id user_id)) 在2022年7月30日星期六 UTC+8 21:06:48 写道: > I'm pretty sure what is happening is the Clojure compiler is munging "x-" > into "x_" but since you already have an "x_" you get an exception. > > On Sat

Re: variable name duplicate

2022-07-30 Thread Paul Stadig
I'm pretty sure what is happening is the Clojure compiler is munging "x-" into "x_" but since you already have an "x_" you get an exception. On Sat, Jul 30, 2022, 5:23 AM vinurs wrote: > hello, > i have the following code: > ``` > (let [x- 1 x_ 2] (fn [] [x- x_])) ; => Throws: Duplicate field na

variable name duplicate

2022-07-30 Thread vinurs
hello, i have the following code: ``` (let [x- 1 x_ 2] (fn [] [x- x_])) ; => Throws: Duplicate field name "x_" with signature "J" in class file [...] ``` i tested from clojure 1.0.0 to the latest, all throw the exception -- You received this message because you are subscribed to the Google Group