You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code was evaluating well till version 2.11.0
interpreter.Eval<bool>("((int?)5)>((double?)4)");
later versions (including current version 2.13.0), throws the following exception:
System.InvalidOperationException : The binary operator GreaterThan is not defined for the types 'System.Nullable`1[System.Int32]' and 'System.Nullable`1[System.Double]'
tested in .NET6
The text was updated successfully, but these errors were encountered:
Ok,
in fact I got the same exception when running non-nullable different types but using null conditional operator, e.g. class Foo { public int var1; public double var2; }
then, following throws that exception: interpreter.Eval("foo?.var1>foo?.var2")
The following code was evaluating well till version 2.11.0
later versions (including current version 2.13.0), throws the following exception:
tested in .NET6
The text was updated successfully, but these errors were encountered: