Skip to content

Include generic in java type definition#372

Merged
pokey merged 9 commits intomainfrom
java_generic
Dec 10, 2021
Merged

Include generic in java type definition#372
pokey merged 9 commits intomainfrom
java_generic

Conversation

@AndreasArvidsson
Copy link
Copy Markdown
Member

No description provided.

@AndreasArvidsson AndreasArvidsson added this to the 0.24.0 milestone Dec 9, 2021
@@ -0,0 +1,39 @@
languageId: java
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not worth rewriting all these tests, but I thought we had aligned on "clear" instead of "take" to make these tests easier to read. Makes it a bit painful having to manually count offsets to figure out what the test is doing

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You're completely correct.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fwiw I'm planning a rework of the tests to make modifier tests clearer / more compact, and then the "clear" / "take" thing won't matter. Not sure if I've already filed an issue but I will at some point

Copy link
Copy Markdown
Member Author

@AndreasArvidsson AndreasArvidsson Dec 9, 2021

Choose a reason for hiding this comment

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

that sounds really useful

Comment thread src/test/suite/fixtures/recorded/languages/java/takeTypeGust2.yml
Comment thread src/util/nodeSelectors.ts
Comment thread src/languages/typescript.ts
Comment thread src/languages/typescript.ts
@pokey pokey merged commit 0712ee8 into main Dec 10, 2021
@pokey pokey deleted the java_generic branch December 10, 2021 10:13
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.

2 participants