Closed ndrwrbgs closed 3 years ago
How are you getting all these index out of bounds errors? From default(OneOf<...>)
?
For the first one, that would be from the other PR and should probably be handled there.
For the second, it was mostly an improvement suggestion.
The third and fourth were just from reading through the code and noticing the ambiguity if the input function was null.
Switch/Match, it looks like they should probably throw ArgumentExceptions if you don't provide funcs (rather than InvalidOperationExceptions, which is what happens now), is that what you are referring to?
CLosing due to lack of activity, PRs welcome
Cannot return as T0 (System.String) as T2 (System.Int32)
)