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
When throwing runtime errors for reused argument in function definition, we are replacing the function body instructions with the runtime error call. We traverse the body expression to check the body is valid, in case there are errors that the typechecker alone cannot catch; we don't have examples of such instances, we do that to play it safe.
We need to double check that this is not creating dangling references or other unexpected behaviours (or ensure that the leaking side effects are not problematic).
When throwing runtime errors for reused argument in function definition, we are replacing the function body instructions with the runtime error call. We traverse the body expression to check the body is valid, in case there are errors that the typechecker alone cannot catch; we don't have examples of such instances, we do that to play it safe.
We need to double check that this is not creating dangling references or other unexpected behaviours (or ensure that the leaking side effects are not problematic).
Originally posted by @matteojug in #510 (comment)
The text was updated successfully, but these errors were encountered: