Add todo for nullptrs

This commit is contained in:
Joshua Suskalo 2021-09-23 13:12:47 -05:00
parent c61e60681b
commit f76b2edae4

View file

@ -887,6 +887,8 @@
(to-object-asm arg)]) (to-object-asm arg)])
arg-types) arg-types)
[:invokevirtual IFn "invoke" (repeat (inc (count arg-types)) Object)] [:invokevirtual IFn "invoke" (repeat (inc (count arg-types)) Object)]
;; TODO(Joshua): If this returns nil and this is primitive,
;; return a default value
(to-prim-asm ret-type) (to-prim-asm ret-type)
[(return-for-type ret-type :areturn)]]}]}) [(return-for-type ret-type :areturn)]]}]})