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
var f = new Function("f(x) = (3 + 5*x");
Console.WriteLine($"checkSyntax: {f.checkSyntax()}");
Console.WriteLine($"getErrorMessage: {f.getErrorMessage()}");
yields the output
checkSyntax: True
getErrorMessage: [ (3 + 5*x] checking ...
[ (3 + 5*x] lexical error
Encountered "<EOF>" at line 1, column 9.
Was expecting one of:
"(" ...
It doesn't seem to matter what the function is, checkSyntax now always returns true.
Function.getErrorMessage() behaves as expected.
Expression.checkSyntax() also behaves as expected.
Issue discovered in 4.1.1 (build from nuget.org)
TargetFramework=net461
In 3.0.0 Function.checkSyntax() worked as expected
Absolutely brilliant library, very much appreciate your hard work!
The text was updated successfully, but these errors were encountered:
The following code snippet:
yields the output
It doesn't seem to matter what the function is, checkSyntax now always returns true.
Function.getErrorMessage() behaves as expected.
Expression.checkSyntax() also behaves as expected.
Issue discovered in 4.1.1 (build from nuget.org)
TargetFramework=net461
In 3.0.0 Function.checkSyntax() worked as expected
Absolutely brilliant library, very much appreciate your hard work!
The text was updated successfully, but these errors were encountered: