feat[next]: name program and static args in "no program compiled" error - #2734
Open
havogt wants to merge 1 commit into
Open
feat[next]: name program and static args in "no program compiled" error#2734havogt wants to merge 1 commit into
havogt wants to merge 1 commit into
Conversation
This was referenced Jul 29, 2026
The error raised when no compiled variant matches a call only said "No program compiled for this set of static arguments." — neither which program nor which arguments. Add both, plus a note that the variant is also selected by the identity of the 'offset_provider' entries, which is the other common cause of an unexpected miss.
havogt
force-pushed
the
improve-compiled-program-miss-message
branch
from
August 13, 2026 11:12
84510b2 to
2423589
Compare
havogt
marked this pull request as ready for review
August 13, 2026 11:27
egparedes
approved these changes
Aug 13, 2026
egparedes
left a comment
Contributor
There was a problem hiding this comment.
LGTM, just a minor nitpick.
Comment on lines
+470
to
+471
| # Note: not `zip(..., strict=True)`: this runs while building an error message, so a | ||
| # mismatch must degrade to a shorter description instead of replacing the error. |
Contributor
There was a problem hiding this comment.
I don't get the reference to zip here. Make the comment shorter and mention only the existing code.
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.
Before:
After:
Neither the program nor the offending arguments were named, and the offset provider taking part
in the selection was not mentioned at all, which is the other common cause of an unexpected miss.