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

Add test cases for constructors with SFVC as a parameter. #5269

Closed
wants to merge 1 commit into from

Conversation

k163377
Copy link
Contributor

@k163377 k163377 commented Feb 23, 2024

Completed missing test cases regarding the type that value class wraps and nullability as a parameter.


For SFCV, these test cases are largely missing.
I would like to continue to contribute to the completion of such test cases.

By the way, are there any rules on how to write commit messages?
Also, are there any recommended per-commit guidelines?
I have had these corrected several times and I apologize for that.

@udalov udalov self-assigned this Feb 23, 2024
@k163377 k163377 marked this pull request as draft February 23, 2024 08:22
@udalov
Copy link
Member

udalov commented Feb 23, 2024

By the way, are there any rules on how to write commit messages?
Also, are there any recommended per-commit guidelines?

Take a look here and here, but these are rather guidelines than strictly enforced rules.

Comment on lines +8 to +10
data class TestCtor1_1(val x: A = A("0"))
data class TestCtor1_2(val x: A? = A("0"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am adding a function to verify the nullability of a parameter.
Should I add a case where the default argument is null?

@k163377 k163377 marked this pull request as ready for review February 23, 2024 08:35
@k163377
Copy link
Contributor Author

k163377 commented Feb 23, 2024

@udalov
Thanks for the quick reply, I will check it.
And sorry for the force push after opened the PR.

k163377 added a commit to k163377/kotlin that referenced this pull request Feb 23, 2024
k163377 added a commit to k163377/kotlin that referenced this pull request Apr 21, 2024
k163377 added a commit to k163377/kotlin that referenced this pull request Apr 21, 2024
@k163377
Copy link
Contributor Author

k163377 commented Apr 21, 2024

Too much time had passed, so I rebased and force pushed.

k163377 added a commit to k163377/kotlin that referenced this pull request Apr 26, 2024
@udalov
Copy link
Member

udalov commented May 15, 2024

Sorry for delays, merged in 0ed4cab.

Thank you!

@udalov udalov closed this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants