-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix intersection-typed function calls with union-typed arguments #514
Fix intersection-typed function calls with union-typed arguments #514
Commits on Feb 2, 2023
-
Add test/known_problems/should_pass/call_intersection_function_with_u…
…nion_arg_should_pass.erl And rearrange some already existing tests.
Configuration menu - View commit details
-
Copy full SHA for 7daa1dc - Browse repository at this point
Copy the full SHA 7daa1dcView commit details
Commits on Feb 3, 2023
-
Fix checking intersection-typed function calls
Specifically, calling intersection-typed functions with union-typed arguments.
Configuration menu - View commit details
-
Copy full SHA for 301480d - Browse repository at this point
Copy the full SHA 301480dView commit details -
Rename: test/{known_problems ->}/should_pass/call_intersection_functi…
…on_with_union_arg_{should_ ->}pass.erl
Configuration menu - View commit details
-
Copy full SHA for caee889 - Browse repository at this point
Copy the full SHA caee889View commit details -
Drop the lists:map/2 spec override with overlapping clauses
Overlapping clauses lead to an unsolvable problem when selecting which clause of an intersection-typed function to call.
Configuration menu - View commit details
-
Copy full SHA for 6167a5d - Browse repository at this point
Copy the full SHA 6167a5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c615da4 - Browse repository at this point
Copy the full SHA c615da4View commit details -
Fix filename:* spec overrides to make them non-overlapping
Strictly speaking, they're not that accurate anymore, since any list containing even a single binary will lead to returning the result as a binary. It's not reflected in the current specs.
Configuration menu - View commit details
-
Copy full SHA for b4b008b - Browse repository at this point
Copy the full SHA b4b008bView commit details
Commits on Feb 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 73c912b - Browse repository at this point
Copy the full SHA 73c912bView commit details -
Add test/known_problems/should_fail/call_intersection_function_with_u…
…nion_arg_should_fail.erl
Configuration menu - View commit details
-
Copy full SHA for e600656 - Browse repository at this point
Copy the full SHA e600656View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48bafe8 - Browse repository at this point
Copy the full SHA 48bafe8View commit details
Commits on Feb 15, 2023
-
Check intersection-typed function calls
This allows arg types to select multiple matching spec clauses and uses a LUB of the result types as the call result type.
Configuration menu - View commit details
-
Copy full SHA for 7b8a2aa - Browse repository at this point
Copy the full SHA 7b8a2aaView commit details -
Move passing test to solved problems in call_intersection_function_wi…
…th_union_arg_fail
Configuration menu - View commit details
-
Copy full SHA for d21974c - Browse repository at this point
Copy the full SHA d21974cView commit details -
Fix test/should_pass/list_concat_op_pass.erl by dropping the overlapp…
…ing erlang:'++'/2 spec
Configuration menu - View commit details
-
Copy full SHA for df232ef - Browse repository at this point
Copy the full SHA df232efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07f8b7c - Browse repository at this point
Copy the full SHA 07f8b7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf47ba - Browse repository at this point
Copy the full SHA 4cf47baView commit details -
Add cases with any() args to test/should_pass/call_intersection_funct…
…ion_with_union_arg_pass.erl
Configuration menu - View commit details
-
Copy full SHA for 79f227d - Browse repository at this point
Copy the full SHA 79f227dView commit details -
Add expected failure description to test/known_problems/should_fail/t…
…uple_union_arg.erl
Configuration menu - View commit details
-
Copy full SHA for badecdc - Browse repository at this point
Copy the full SHA badecdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 792d13f - Browse repository at this point
Copy the full SHA 792d13fView commit details