Skip to content

Report missing note columns with ArgumentError - #6

Merged
quinnj merged 1 commit into
mainfrom
maintenance/note-column-error
Oct 4, 2026
Merged

quinnj merged 1 commit into
mainfrom
maintenance/note-column-error

Conversation

@quinnj

@quinnj quinnj commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Requesting a note for a missing column currently throws UndefVarError: col not defined. The existing invalid-column check refers to the wrong variable while preparing its error message.

Use the requested column in that message so the intended ArgumentError is returned. Regression checks cover absent Symbol/String names, signed/unsigned zero indices and preserved table/column notes after errors.

Validation: both unchanged runtime probes reproduce the wrong error on actual Julia 1.6.7 and 1.13.1. Full suites pass 97 checks on both versions after integrating the merged minimum-runtime repair, including 11 new regressions. The tested tree is unchanged after rebasing onto actual main. git diff --check passes. All three exact-head hosted CI jobs pass at 5db302ba4ed23dac7ecf9362e673591add716987 (run 37209920412), with four threads and bounds checking. The normal merge is 42624bc67f1c521b953b21ff8dc81d0180de94ff; all three exact-main jobs also pass (run 37210566148).

Co-authored by Codex

AI disclosure: This work was prepared with assistance from OpenAI Codex.

Interpolate the requested column rather than an undefined variable in the
existing error path. Cover Symbol, String and zero-index requests and retain
existing table and column notes after those errors.

AI disclosure: This work was prepared with assistance from OpenAI Codex.
@quinnj
quinnj merged commit 42624bc into main Oct 4, 2026
3 checks passed
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.

1 participant