Skip to content

Discern invalid and missing syntax with different terminal kinds#1013

Merged
Xanewok merged 3 commits intoNomicFoundation:mainfrom
Xanewok:discern-error-terminals
Jun 20, 2024
Merged

Discern invalid and missing syntax with different terminal kinds#1013
Xanewok merged 3 commits intoNomicFoundation:mainfrom
Xanewok:discern-error-terminals

Conversation

@Xanewok
Copy link
Copy Markdown
Contributor

@Xanewok Xanewok commented Jun 16, 2024

Alternative to #969

Closes #835
Closes #507
Closes #700

This implements the idea from #835:

  • introduces a new TerminalKind::MISSING
  • renames TerminalKind::SKIPPED to TerminalKind::UNRECOGNIZED
  • emits TerminalKind::MISSING instead of TerminalKind::UNRECOGNIZED when the tree is empty

When writing this, I came to a conclusion that actually using two distinc terminal kinds might do more harm than good here, see #835 (comment).

@Xanewok Xanewok requested a review from a team as a code owner June 16, 2024 19:20
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jun 16, 2024

⚠️ No Changeset found

Latest commit: f863bc3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Xanewok
Copy link
Copy Markdown
Contributor Author

Xanewok commented Jun 20, 2024

During the sync call we came to a conclusion that we'll go ahead with this approach.

@Xanewok Xanewok added this pull request to the merge queue Jun 20, 2024
Merged via the queue into NomicFoundation:main with commit 0a93a23 Jun 20, 2024
@Xanewok Xanewok deleted the discern-error-terminals branch June 20, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants