Skip to content

fix: mark only the name for CannotDeclareConst#156

Merged
pfitzseb merged 1 commit into
mainfrom
sp/cannotdeclareconst-name-range
Jul 22, 2026
Merged

fix: mark only the name for CannotDeclareConst#156
pfitzseb merged 1 commit into
mainfrom
sp/cannotdeclareconst-name-range

Conversation

@pfitzseb

Copy link
Copy Markdown
Member

The CannotDeclareConst error was set on the whole const/datatype expression; mark just the declared name instead. Also fixes the is_const(bind) typo that resolved to Base.bind and silently disabled the const-over-existing-binding branch.

The CannotDeclareConst error was set on the whole const/datatype
expression; mark just the declared name instead. Also fixes the
`is_const(bind)` typo that resolved to `Base.bind` and silently
disabled the const-over-existing-binding branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pfitzseb
pfitzseb merged commit b1815c4 into main Jul 22, 2026
20 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