core: fix comment in unify_call

This commit is contained in:
lyken 2024-08-30 17:12:44 +08:00
parent 8c8f1e7bf0
commit 38bef345e9
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 2 additions and 2 deletions

View File

@ -670,8 +670,8 @@ impl Unifier {
let num_args = posargs.len() + kwargs.len();
// Now we check the arguments against the parameters,
// and depending on what `call_info` is, we might change how the behavior `unify_call()`
// in hopes to improve user error messages when type checking fails.
// and depending on what `call_info` is, we might change how `unify_call()` behaves
// to improve user error messages when type checking fails.
match operator_info {
Some(OperatorInfo::IsBinaryOp { self_type, operator }) => {
// The call is written in the form of (say) `a + b`.