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

Fix typeuse annotations not getting trimmed properly #363

Merged
merged 8 commits into from
Jul 4, 2023

Conversation

SentryMan
Copy link
Collaborator

@SentryMan SentryMan commented Jul 4, 2023

It seems that our trim functions were not designed to handle type_use.

Use regex to trim annotations.
Use regex to sanitize imports.

@SentryMan
Copy link
Collaborator Author

actually hmmm

@SentryMan SentryMan marked this pull request as draft July 4, 2023 05:36
@SentryMan
Copy link
Collaborator Author

SentryMan commented Jul 4, 2023

it seems we shall need to find a better regex or something

@SentryMan SentryMan marked this pull request as ready for review July 4, 2023 12:38
@SentryMan
Copy link
Collaborator Author

I'm good with this

@rob-bygrave rob-bygrave added this to the 9.3 milestone Jul 4, 2023
@rob-bygrave rob-bygrave added the bug Something isn't working label Jul 4, 2023
@rob-bygrave rob-bygrave merged commit a251c89 into avaje:master Jul 4, 2023
2 of 3 checks passed
@SentryMan SentryMan deleted the annotation branch July 5, 2023 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants