Repository navigation
reuse tele_fill for template prefixes in def_emit() - #1354
Merged
Merged
Conversation
toprameen
marked this pull request as ready for review
October 5, 2026 20:45
Lorenzobattistela
requested changes
Oct 6, 2026
Lorenzobattistela
left a comment
Collaborator
There was a problem hiding this comment.
Gates green merged onto main 53fc961: repo 50/50, ping 47/47, test 1577/1577, perf 123/124 (main 121/124, noise), safe identical to main per file. -o .bendtt is byte-identical on all 1588 tests (129 specialized instances), so this is a pure refactor.
Two small asks:
cols.slice(0, tld.x)instead ofcols.filter(v => v !== null): it states the leading-prefix invariant and stays positional likearm()'scols.slice(tld.x). With the filter, a future gap in cols would silently fill values onto the wrong binders.
Contributor
Author
|
Switched to You mentioned two asks @Lorenzobattistela but only listed one. Let me know if there is a second. |
Lorenzobattistela
approved these changes
Oct 6, 2026
Lorenzobattistela
left a comment
Collaborator
There was a problem hiding this comment.
There's no second ask, it got dropped when I edited the review. The slice change covers it. Thanks, approving.
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.
def_emitnow fills leading template arguments with existingtele_fill, removingtype_drop’s recursive scan and binder reconstruction.Local checks: repository gate and whitespace check pass. Output matches on 326 checked fixtures; 63 boundary comparisons and 17 kernel verdict pairs agree. Sixteen CLI verdicts and five negative diagnostic fixtures pass. TypeScript introduces no new diagnostics.