Skip to content

Fix a problem with omitting the second argument of UnitOf#34

Merged
hadashiA merged 1 commit intomasterfrom
hadashiA/fix-arg-2nd
Sep 28, 2023
Merged

Fix a problem with omitting the second argument of UnitOf#34
hadashiA merged 1 commit intomasterfrom
hadashiA/fix-arg-2nd

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
@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