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

Skip classes from introspection generation that are postponed #11155

Merged
merged 5 commits into from
Sep 6, 2024

Conversation

graemerocher
Copy link
Contributor

@graemerocher graemerocher commented Sep 4, 2024

Currently if a class is postponed the introspection is still generated. This means that in the next round the introspection is recreated and an exception is thrown because there was an attempt to rewrite the some class.

Without this change it is impossible to use @Wither and @Introspected together.

Unclear how to create a test for it here. Will have to upgrade SourceGen and add a test there.

@graemerocher graemerocher added the type: bug Something isn't working label Sep 4, 2024
@sdelamo sdelamo added this to the 4.6.5 milestone Sep 5, 2024
Copy link

sonarcloud bot commented Sep 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
64.4% Coverage on New Code (required ≥ 70%)
1 New Critical Issues (required ≤ 0)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@graemerocher graemerocher merged commit 4640ece into 4.6.x Sep 6, 2024
18 of 19 checks passed
@graemerocher graemerocher deleted the fix-introspection-generator-withsourcegen branch September 6, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants