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
This looks like a bug with the lowering phase. I'll take a look tomorrow.
Should we have an explicit pass that attempts to unify the function args' type signatures with the postfix type signature (if one was provided)?
This shouldn't be necessary (as its own thing). The lowering phase should essentially distribute all the argument type annotations into a stack of type annotations. We just need to handle the general case of unifying multiple type annotations (which Xijiao and I already spoke about on Tuesday).
In the following example:
I had to annotate the function args "inline". The following equivalent:
Results in this error being thrown:
TypeError "Cannot change empty Ann type to Classes type"
.The text was updated successfully, but these errors were encountered: