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 a problem with omitting the second argument of UnitOf #34

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

hadashiA
Copy link
Contributor

refs: #33

In the case of omitting the 2nd argument of UnitOf with set of any named properties, there is unintented behavior.

Like this:

[UnitOf(typeof(string),  ToStringFormat = "...")]
public partial struct Foo

Fix:
The name of the argument is determined first before the number of the argument..

@neuecc
Copy link
Member

neuecc commented Sep 28, 2023

thx

@hadashiA hadashiA merged commit 07f9065 into master Sep 28, 2023
1 check passed
@hadashiA hadashiA deleted the hadashiA/fix-arg-2nd branch September 28, 2023 05:41
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