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
Check what's going on with type hints on the bean accessors generated by defparams. I think they are getting added in the functions' meta, but that doesn't show up in the macroexpand-1 output, so you can't see it in params.md. The line that is supposed to add the type hints is: https://github.com/mars0i/masonclj/blob/master/src/masonclj/params.clj#L212
(I copied this from pasta, and need to make sure I understand it again, here.)
The text was updated successfully, but these errors were encountered:
The type hinting is definitely happening; if you turn it off (by changing the line mentioned above to #this 'this) and turn on reflection warnings, you will see the difference.
What's weird is that I can't see the function defs in the repl. They should be visible e.g. with (dirs pasta.Sim) in pasta, but they're not there. Yet they are used by MASON.
Maybe it's not me, but rather that methods declared in gen-class are not visible to normal Clojure stuff??
I'm pretty sure it's working as expected. It's just difficult to see the effect of the type hints. They disappear during complication, but the reflection warnings go away.
Check what's going on with type hints on the bean accessors generated by
defparams
. I think they are getting added in the functions' meta, but that doesn't show up in themacroexpand-1
output, so you can't see it in params.md. The line that is supposed to add the type hints is:https://github.com/mars0i/masonclj/blob/master/src/masonclj/params.clj#L212
(I copied this from pasta, and need to make sure I understand it again, here.)
The text was updated successfully, but these errors were encountered: