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
Passing explicit generic arguments to a non generic function
More generics arguments than a function has defined
To fix
Look in calling.rs for call_site_type_arguments which is passed and the function.type_parameter. If the former is passed but that latter is missing raise a FunctionCallingError.
This is already implemented for types with generics btw. And the opposite case is not necessary because that is handled by inference.
The text was updated successfully, but these errors were encountered:
Currently there is no diagnostic raised for:
To fix
calling.rs
forcall_site_type_arguments
which is passed and thefunction.type_parameter
. If the former is passed but that latter is missing raise aFunctionCallingError
.This is already implemented for types with generics btw. And the opposite case is not necessary because that is handled by inference.
The text was updated successfully, but these errors were encountered: