Skip to content

Add ExtensionDecl test #331

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

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Conversation

kimdv
Copy link
Contributor

@kimdv kimdv commented Nov 1, 2021

Hi @ahoppen ! 👋

I have played a but around with SwiftSyntaxBuilder. Started with making a test case that should make something like the Tokens.swift.
Just to have something realistic.

Made a bunch of convenient API's and other small improvements.
This PR is a bit messy (a lot of changes and far from done). But I improve the API, and try different Idas when I think something can be done smarter or more clean.

How should I progress this?
Do you want PR's with small changes, and I keep rebasing this branch on main as they get merged or just one big PR here?

Depends on:
#335
#334

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

I added some preliminary comments inline. I like the idea of trying to generate SwiftSyntax sources using SwiftSyntax. 👍

@kimdv kimdv force-pushed the kimdv/add-extension-test branch 2 times, most recently from f61c0ae to ffd8380 Compare November 10, 2021 06:15
@kimdv kimdv force-pushed the kimdv/add-extension-test branch 16 times, most recently from ef898d7 to c656f72 Compare November 20, 2021 23:16
@kimdv kimdv force-pushed the kimdv/add-extension-test branch 7 times, most recently from d9cb8d5 to 3ea1ad8 Compare December 1, 2021 19:39
@kimdv kimdv force-pushed the kimdv/add-extension-test branch 3 times, most recently from e8a540d to 88c716a Compare December 2, 2021 19:36
@kimdv kimdv marked this pull request as ready for review December 2, 2021 19:38
@kimdv kimdv requested a review from ahoppen December 2, 2021 19:38
@kimdv
Copy link
Contributor Author

kimdv commented Dec 2, 2021

@ahoppen I think this is now at a point where it makes sense too review :)

@kimdv kimdv force-pushed the kimdv/add-extension-test branch 2 times, most recently from 9fb11fc to 1ccdecf Compare December 5, 2021 08:35
@kimdv kimdv force-pushed the kimdv/add-extension-test branch from 1ccdecf to bfe458a Compare December 5, 2021 08:58
@kimdv
Copy link
Contributor Author

kimdv commented Dec 5, 2021

swiftlang/swift#40358

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Dec 5, 2021

Build failed
Swift Test Linux Platform
Git Sha - 88c716a

@swift-ci
Copy link
Contributor

swift-ci commented Dec 5, 2021

Build failed
Swift Test OS X Platform
Git Sha - 88c716a

@kimdv kimdv merged commit 24316cc into swiftlang:main Dec 6, 2021
@kimdv kimdv deleted the kimdv/add-extension-test branch December 6, 2021 09:18
@eeckstein
Copy link

@ahoppen
Copy link
Member

ahoppen commented Dec 6, 2021

CI just got very unlucky with its checkout. It was started at exactly the same time that the PRs were merged and picked up #331 but not swiftlang/swift#40358. It should be fixed in the next build.

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.

4 participants