-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if typechecker_workaround
works for nested filter
/fold
expressions
#492
Comments
It does impact I had this idea to have a Set containing the expressions fixed in |
One thing that we may need to double check: is it possible for the same expression (eg, loading a data-var and manipulating it) to be coerced, in different places, to two different types based on the function used (eg, in map)? If so, is it bad? Since those workarounds basically interpret the list type based on the called function, I was wondering if it could be possible for this to introduce subtle bugs where you define a mistyped function, but this type coercion makes so it's still accepted (eventually reading garbage), but then it's possible to manipulate the original values in the list so that the garbage is no longer garbage but something bad. It could help to have a clear characterization of the cases that required those workaround in the first place. |
As much as I know from the testing I did, |
We may need to fix
typechecker_workaround
as currently it only operates on top level expressions, thus ignoring nested ones: (example frommap
issue, solved by using local workaround instead oftypechecker_workaround
)This may be impacting also
filter
/fold
.Originally posted by @matteojug in #474 (comment)
The text was updated successfully, but these errors were encountered: