Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate typescript scopes #2040

Merged
merged 37 commits into from
Nov 25, 2023
Merged

Migrate typescript scopes #2040

merged 37 commits into from
Nov 25, 2023

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Nov 19, 2023

Fixes #1892

Checklist

  • I have added tests
  • [-] I have updated the docs and cheatsheet
  • [-] I have not broken the cheatsheet

@AndreasArvidsson AndreasArvidsson changed the title Started migrating typescript Migrate typescript scopes Nov 19, 2023
@AndreasArvidsson AndreasArvidsson added scope-migration Migrating scopes to next-gen scope implementation lang-typescript TypeScript/JavaScript grammar support labels Nov 19, 2023
@AndreasArvidsson AndreasArvidsson marked this pull request as ready for review November 20, 2023 10:21
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Left a few minor comments

@@ -24,7 +24,7 @@ initialState:
marks: {}
finalState:
documentContents: |-
if (false) {
else if (false) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

man I really disagree with you and @josharian on the "branch" thing, but I don't use it enough to care 🤷

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This use case is now restored :)

queries/typescript.core.scm Outdated Show resolved Hide resolved
queries/javascript.core.scm Outdated Show resolved Hide resolved
queries/javascript.core.scm Outdated Show resolved Hide resolved
queries/typescript.core.scm Outdated Show resolved Hide resolved
queries/javascript.core.scm Outdated Show resolved Hide resolved
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@pokey pokey enabled auto-merge November 25, 2023 13:05
@pokey pokey added this pull request to the merge queue Nov 25, 2023
Merged via the queue into main with commit 2af63fd Nov 25, 2023
@pokey pokey deleted the ts_migration branch November 25, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-typescript TypeScript/JavaScript grammar support scope-migration Migrating scopes to next-gen scope implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript type scope: Add removal range for cast/type assertion
2 participants