Skip to content

Improve diagnostics marked with TODO in Tests/SwiftParser/translated #1373

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

Open
50 of 58 tasks
ahoppen opened this issue Mar 1, 2023 · 15 comments
Open
50 of 58 tasks

Improve diagnostics marked with TODO in Tests/SwiftParser/translated #1373

ahoppen opened this issue Mar 1, 2023 · 15 comments
Labels
enhancement New feature or request good first issue Good for newcomers SwiftParser Bugs in the (new) Parser written in Swift

Comments

@ahoppen
Copy link
Member

ahoppen commented Mar 1, 2023

There are ~150 TODOs left in the test cases where diagnostics from the C++ parser are superior to the ones generated by SwiftParser. Those should be fixed.

Some of these TODOs are marked as “good first issue” and fixing those should be a good starting point to get started with the swift-syntax codebase.

Here’s a list of the tests that still have TODOs remaining. If you’ve got commit access to the repository and are working on one of them, mark them as ticked and add your named to assign them to you. If you don’t have commit access, comment on this issue and I’ll update the list to assign an issue to you.

@ahoppen ahoppen added enhancement New feature or request good first issue Good for newcomers SwiftParser Bugs in the (new) Parser written in Swift labels Mar 1, 2023
@ahoppen
Copy link
Member Author

ahoppen commented Mar 1, 2023

rdar://106083939

@Rajveer100
Copy link

Hey @ahoppen, what are the additional codebase setup requirements apart from the swift-compiler setup which I already have, so I can start contributing to this repo too!

@bbvch13531
Copy link

Hello! I'm currently working on testAvailabilityQuery34 in AvailabilityQueryTests.swift

Could I create a new issue and if there are few questions about this TODO? @ahoppen

@kimdv
Copy link
Contributor

kimdv commented Mar 2, 2023

Hi!

I'm looking into testIdentifiers7

@ahoppen
Copy link
Member Author

ahoppen commented Mar 2, 2023

Hey @ahoppen, what are the additional codebase setup requirements apart from the swift-compiler setup which I already have, so I can start contributing to this repo too!

SwiftSyntax is (mostly) a standalone repo for which you don't need to build the Swift compiler yourself. You should be able to just open it in Xcode or in any other editor that supports LSP with SourceKit-LSP such as VSCode with the Swift Extension.

@ahoppen
Copy link
Member Author

ahoppen commented Mar 2, 2023

To anyone who starts working on an issue, if you've gotten so far that you can open a PR (even if there are still things that don't work) we can use that to discuss further questions. If you need help before you've made any significant code changes, I agree that opening a new issues is a good way to keep the discussions focussed.

@CippoX
Copy link
Contributor

CippoX commented Mar 17, 2023

Hi everyone, I'm working on testRecovery64

@ahoppen
Copy link
Member Author

ahoppen commented Mar 17, 2023

@CippoX, @kimdv is already working on testRecovery64 here #1382

@CippoX
Copy link
Contributor

CippoX commented Mar 18, 2023

@ahoppen
Copy link
Member Author

ahoppen commented Mar 20, 2023

@CippoX

I don’t know of anyone working on testAvailabilityQueryUnavailability34a, if you want to take a look at that, that’d be great.

I suspect that testAvailabilityQueryUnavailability28 requires the same fix as testAvailabilityQuery34, so I’d like to see if @bbvch13531 is still working on it.

@CippoX
Copy link
Contributor

CippoX commented Mar 20, 2023

Thank you @ahoppen, since @bbvch13531 didn't respond I've already made a pull request #1423, I'm also looking at testAvailabilityQueryUnavailability34a

@ahoppen
Copy link
Member Author

ahoppen commented Mar 20, 2023

@CippoX, Oh, sorry, I didn’t see that PR yet while going through my emails. Thanks for creating it. 👍🏽

@CippoX
Copy link
Contributor

CippoX commented Mar 26, 2023

Hi, I'm working on testRecovery176

@ahoppen
Copy link
Member Author

ahoppen commented Mar 27, 2023

@CippoX I’m sorry @kimdv beat you to it: #1445

@kimdv Could you add comments here if you’re working on one of the TODOs to avoid these conflicts? It’s fine if you just have one comment and update that as well.

Edit: I changed my mind and am now keeping a list in the issue description. @kimdv Feel free to assign failing test cases to yourself if you want to.

@CippoX
Copy link
Contributor

CippoX commented Mar 27, 2023

Thanks, we already solved it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers SwiftParser Bugs in the (new) Parser written in Swift
Projects
None yet
Development

No branches or pull requests

5 participants