You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(defnfoo [^:T t]
(let [lst (new List (type-args T))]
(.Add lst t)
lst))
(foo90) ;; => List<long>
should compile to something along the lines of
using System;using System.Collections.Generic;publicclassfoo_function{publicList<T>invoke_magic<T>(Tt){varlst=newList<T>();
lst.Add(t);returnlst;}publicobjectinvoke_clojureclr(objectt){return invoke_magic(t);}}
The text was updated successfully, but these errors were encountered:
should compile to something along the lines of
The text was updated successfully, but these errors were encountered: