CLJS-687: error/warning when deftype/record constructor used as a
function