Skip to content

chore: bump comline-core and the generators for duplicate-declaration spans - #57

Merged
Kinflou merged 1 commit into
mainfrom
chore/core-duplicate-declaration-spans
Oct 12, 2026
Merged

Kinflou merged 1 commit into
mainfrom
chore/core-duplicate-declaration-spans

Conversation

@Kinflou

@Kinflou Kinflou commented Oct 12, 2026

Copy link
Copy Markdown
Member

Step 4 of the cascade for ComlineProject/core#90.

Nothing in cli constructs a FrozenUnit::Error, so this is pins only — but
it is what makes comline build report a duplicate declaration at both
sites, with both kinds named, the same way the editor now does:

[validation::duplicate-declaration] Error: Duplicate definition of 'main::Test'
    ╭─[main.ids:13:1]
  9 │   ╭─▶ struct Test {
 11 │   ├─▶ }
    │   ╰─────── struct 'main::Test' declared here
 13 │ ╭───▶ error Test {
 15 │ ├───▶ }
    │ ╰───────── error 'main::Test'
    │       Help: rename this error or remove it - the struct above already defines 'Test'

Depends on ComlineProject/core#90, ComlineProject/generation#45,
ComlineProject/comline-rust#36 and ComlineProject/comline-typescript#30.

… spans

Step 4 of the cascade. Nothing in `cli` constructs a `FrozenUnit::Error`,
so this is pins only - but it is what makes `comline build` report a
duplicate declaration at both sites, with both kinds named, the same way the
editor now does.
@Kinflou
Kinflou merged commit cf2b95d into main Oct 12, 2026
2 checks passed
@Kinflou
Kinflou deleted the chore/core-duplicate-declaration-spans branch October 12, 2026 16:51
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