Skip to content

Commit

Permalink
Add comment for boolean literal function argument
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Ross-Perkins <[email protected]>
  • Loading branch information
dwblaikie and jonmeow authored Jan 16, 2025
1 parent ae35243 commit 3f36dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/check/handle_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ static auto CheckCompleteClassType(Context& context, Parse::NodeId node_id,
// one. The functions should be allowed to have different signatures
// as long as we can synthesize a suitable thunk.
CheckFunctionTypeMatches(context, override_fn, fn,
SemIR::SpecificId::Invalid, false);
SemIR::SpecificId::Invalid, /*check_syntax=*/false);
fn_decl_id = override_fn_decl_id;
}
}
Expand Down

0 comments on commit 3f36dd6

Please sign in to comment.