Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Variadic function with same name as parent function gives runtime error in advanced compile mode.
Completed
Description fields
Description
This code fails with: Uncaught TypeError: undefined is not a function, when using advanced compilation. If I do not pass the variadic arguments it works. If I rename one of the functions it works.
This code fails with: Uncaught TypeError: undefined is not a function, when using advanced compilation.
If I do not pass the variadic arguments it works.
If I rename one of the functions it works.
(defn- incme [] (let [incme (fn [a queue & args] (inc a))] (println (incme 1 [1] :color "#fff")))) (incme)
Tried this on both 2913 and 3211 with the same result.