We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Passing a null in as the match value without a predicate condition matching against null currently throws a NullReferenceException inside Simplicity:
NullReferenceException
string name = null; name.Match() .With("ben", "it me!") .Else("unknown") .Do() .Dump();
This should return "unknown".
"unknown"
Matching against (string)null also throws a NullReferenceException. This clause should match (string)null but it doesn't:
(string)null
.With((string)null, "match on null")
The text was updated successfully, but these errors were encountered:
Any progress on this?
Sorry, something went wrong.
No branches or pull requests
Passing a null in as the match value without a predicate condition matching against null currently throws a
NullReferenceException
inside Simplicity:This should return
"unknown"
.Matching against
(string)null
also throws aNullReferenceException
. This clause should match(string)null
but it doesn't:The text was updated successfully, but these errors were encountered: