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

Document assumptions about types of current processing round #7072

Merged
merged 1 commit into from
Jun 25, 2023

Conversation

tomas-langer
Copy link
Member

Resolves #7071

@tomas-langer tomas-langer self-assigned this Jun 23, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 23, 2023
@tomas-langer tomas-langer added 4.x Version 4.x builder Related to the builder support labels Jun 23, 2023
@@ -87,9 +87,10 @@ public static Optional<TypeName> createTypeName(TypeMirror typeMirror) {
case TYPEVAR -> {
return Optional.of(createFromGenericDeclaration(typeMirror.toString()));
}
case WILDCARD -> {
case WILDCARD, ERROR -> {
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't we have a unit test for these returns?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can we get a TypeMirror instance in a unit test? These methods did not have unit tests before, so I guess you investigated this?

@tomas-langer tomas-langer merged commit 575694a into helidon-io:main Jun 25, 2023
@tomas-langer tomas-langer deleted the 7071-builder-assumptions branch June 25, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x builder Related to the builder support OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants