Skip to content

fix(cli): preserve Base import order in checkup - #2201

Merged
nicolas-abril merged 3 commits into
bendlang:mainfrom
toprameen:fix-checkup-base-import-order
Nov 18, 2026
Merged

nicolas-abril merged 3 commits into
bendlang:mainfrom
toprameen:fix-checkup-base-import-order

Conversation

@toprameen

Copy link
Copy Markdown
Contributor

Refs #1941.

When a module imports a dependency before Base, --checkup can preload Base and accept a dependency that a normal run rejects. It now reuses checked Base only when import Base comes first, preserving normal import order.

Fully addressing #1941 requires shared Base caching in book_load and support in book_valid, both in bend2/bend.ts, followed by integration into the standalone linter. Those parts remain outstanding.

The regression fails before the fix and passes afterward through source and compiled CLIs. Repository checks pass 56/56. Independent review found no actionable issues. The full ping gate skips because the site checkout is absent.

@toprameen
toprameen marked this pull request as ready for review November 17, 2026 20:44
… regex

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nicolas-abril
nicolas-abril merged commit 62952fa into bendlang:main Nov 18, 2026
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.

2 participants