Skip to content

test(issue): regression test for #1733 list_sort on nested lists - #1735

Merged
adsharma merged 1 commit into
mainfrom
fix-1733-list-sort-nested-binder-error
Nov 29, 2026
Merged

adsharma merged 1 commit into
mainfrom
fix-1733-list-sort-nested-binder-error

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Fixes #1733.

list_sort/list_reverse_sort over a LIST of LISTs/STRUCTs used to fall through the child-type dispatch to UNREACHABLE_CODE and abort the process. The binder now rejects unsupported inner types with a clean Binder exception; this PR locks in that behavior with a regression test covering list_sort, list_reverse_sort, literal nested lists, collect-built nested lists, and STRUCT elements.

#1733)

list_sort/list_reverse_sort over a LIST of LISTs/STRUCTs used to fall
through the child-type dispatch to UNREACHABLE_CODE. The binder now
rejects unsupported inner types with a clean Binder exception, with
regression coverage in issue1733.test and updated expectations in
untyped_null_and_direct_scan_call.test.
@adsharma
adsharma force-pushed the fix-1733-list-sort-nested-binder-error branch from 4bd611d to c75dc54 Compare November 29, 2026 19:22
@adsharma
adsharma merged commit a32bdac into main Nov 29, 2026
4 checks passed
@adsharma
adsharma deleted the fix-1733-list-sort-nested-binder-error branch November 29, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: list_sort on a LIST of LISTs hits an internal assertion (UNREACHABLE_CODE) instead of sorting or raising a binder error

1 participant