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
I would agree that this seems more like something that should be solved at post - I think when designing APIs I'd only be using VTAs to dictate values that are produced - it would never even occur to me to use them to dictate the input to a function, since I think of inference working that way around.
I have following code snippet:
type checker complains with:
Current version of
void
function cannot get type parameter:I suggest to rewrite
void
function to make it more flexible:The text was updated successfully, but these errors were encountered: