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
and we disable it for some builtins here: #238 (you should probably base your PR on that one), so that the builtin can do it by itself. Initially I was thinking that we should just have Builtin::no_typecheck = False; but we ended up storing that information elsewhere in #238
I was thinking that these typechecks could be factored out of that function and placed in their own function for cleanliness. But you can try to remove no_typecheck and typecheck from my example, and then we can see if it makes sense to introduce them later :o
we should standardize how we write builtins by using some trait that looks like this or something:
and the
typecheck()
function could contain all of the actual checks that need to be done.The text was updated successfully, but these errors were encountered: