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

use borrow<> for AST selectors #1130

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

OmarTawfik
Copy link
Contributor

fixes #1128

@OmarTawfik OmarTawfik requested a review from a team as a code owner October 22, 2024 13:35
@OmarTawfik OmarTawfik enabled auto-merge October 22, 2024 13:35
Copy link

changeset-bot bot commented Oct 22, 2024

🦋 Changeset detected

Latest commit: c477142

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/slang Patch

Not sure what this means? Click here to learn what changesets are.

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

@OmarTawfik OmarTawfik added this pull request to the merge queue Oct 23, 2024
Merged via the queue into NomicFoundation:main with commit a97b27d Oct 23, 2024
1 check passed
@OmarTawfik OmarTawfik deleted the fix-ast-selectors branch October 23, 2024 11:43
@github-actions github-actions bot mentioned this pull request Oct 23, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 23, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @nomicfoundation/slang@0.18.3

### Patch Changes

- [#1130](#1130)
[`a97b27d`](a97b27d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - fix a bug where
CST nodes are invalidated after using AST types

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

Pointer to the cst gets lost once we start navigating through the tree.
2 participants