forked from M-Labs/nac3
1
0
Fork 0

core: fix comment in unify_call

This commit is contained in:
lyken 2024-08-30 17:12:44 +08:00 committed by David Mak
parent 5640a793e2
commit 7f629f1579
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`.