ClojureDart icon indicating copy to clipboard operation
ClojureDart copied to clipboard

cljd type parameter inference on static methods could be better

Open dupuchba opened this issue 1 year ago • 0 comments

(def color (let [a (-> m/MaterialStateProperty (. #/(all m/Color) m/Colors.white) )]
            a))

will generate:

 final f_material.MaterialStateProperty<dc.dynamic> a$1=(f_material.MaterialStateProperty.all<f_material.Color>(f_material.Colors.white, ));

Varaible a$1 should be defined with its type parameter

dupuchba avatar Dec 24 '23 15:12 dupuchba