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
Whilst reviewing the modular explicits PR I noticed that it was possible to cause an assertion failure that I previously thought could not be reached. The following code causes the issue:
letfoofa=let _ = (f ~a : ('a. 'a -> 'a) -> int) in
f ~a (funx -> x)
This code causes us to reach the collect_unkown_apply_args code with an expected type that has a polymorphic parameter. We should extend the code to support such cases. The new cases should always consider the type information to be non-principal.
The text was updated successfully, but these errors were encountered:
Whilst reviewing the modular explicits PR I noticed that it was possible to cause an assertion failure that I previously thought could not be reached. The following code causes the issue:
This code causes us to reach the
collect_unkown_apply_args
code with an expected type that has a polymorphic parameter. We should extend the code to support such cases. The new cases should always consider the type information to be non-principal.The text was updated successfully, but these errors were encountered: