-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Add a custom @_spi
kind to expose BumpPtrAllocator
from SwiftSyntax to ASTGen.
#68351
Comments
hello, I am a total newbie to open source. Would be great if I could start woking on this. just confirming, i just need to find and replace right?. |
Yes, should be quite straightforward. Just note that the apple/swift side of this issue depends on #67111 being merged. |
what does that mean? sorry if this is a very basic doubt. should I fork the repo and start to work now then? or wait? |
I think it’s probably easiest if you just wait until #67111 is merged. |
ah that's great. thank you so much. will keep an eye out |
Can I work on the issue? |
@ChiduAnush Are you still keen to work on this? |
Yes, would be great if you could assign it |
You're already assigned! @veryharsh123 Do you mind deferring this issue to @ChiduAnush since he was already assigned? |
can you tell me what exactly do you mean by Mark BumpPtrAllocator as @_spi(BumpPtrAllocator)? |
Sure. |
please check and let me know if everything is all right. |
I think you also need to change the import of SwiftSyntax in ASTGen.swift to be |
I already did that. There are 2 pull requests. |
Oh, sorry. I didn’t see your PR to apple/swift. In general, if you have two PRs that are linked like that, it’s good practice to reference the accompanying PR in the other repo in the PR’s description. |
Mark
BumpPtrAllocator
as@_spi(BumpPtrAllocator)
and change@_spi(RawSyntax) import SwiftSyntax
in ASTGen.swift to@_spi(BumpPtrAllocator) import SwiftSyntax
.That way, ASTGen doesn’t need to import SwiftSyntax with
@_spi(RawSyntax)
.The text was updated successfully, but these errors were encountered: