Repository navigation
fix(check): a call missing arguments says so (#1632) - #2008
Merged
Merged
Conversation
This was referenced Nov 2, 2026
Lorenzobattistela
approved these changes
Nov 2, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nicolas-abril
force-pushed
the
ai/1632-missing-args
branch
from
November 2, 2026 14:47
b26964e to
64c33fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposal 6 of #1632, in a smaller form than #1736.
The observed type already names what's missing, but it's easy to misread if you don't know that
@b:U32 -> U32means you still owe ab. This says so, and leaves out #1736's count of arguments given and taken:bend2/bend.ts: 4 lines at check-any's final throw, +102 ttok; with fix(check): a self-call that doesn't shrink shows what it received (#1632) #2006 and fix(check): a pair where Data is expected names the spelling that is (#1632) #2007,bend.tsis at 45,396 / 48k. prototype #1632.6: say how many arguments a partial call is missing #1736 adds about 485.∀, the expected type isn't, and the head is aRefto a non-foreign def. Without the guard the note also fired oncheck/do_header_typed(a wrong header, where the do block passes the continuation) andcheck/neq_not_convertible(a variable), neither of which is missing an argument.tests/parse/glued_bracket.bendgains the note.tests/check/partial_call_note.bendpins it.Touches the same throw as #2007; this PR is rebased on it and combines the two notes in one
nte.Gates on the three PRs combined, on origin/main
3ca3df32: repo 54/54, test 1819/1819, perf 124/124. Ping fails 80/81 on the BendHub LICENSE check, the same as unchanged main on this machine.🤖 Generated with Claude Code