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
This is a very helpful feature, but when used against expressions with lambdas e.g. list.Any(x => x == null) - x here is an unknown identifier.
So I'm note sure whether this is an expected behaviour, because from expression inputs perspective - yes it's unknown, however it won't raise any compilation errors (since I enabled lambdas) and it's more likely a runtime variable rather than an unknown input identifier.
The text was updated successfully, but these errors were encountered:
vartarget=newInterpreter(InterpreterOptions.Default|InterpreterOptions.LambdaExpressions);target.SetVariable("list",newList<string>());target.DetectIdentifiers("list.Any(x => x == null)").Dump();
This is a very helpful feature, but when used against expressions with lambdas e.g.
list.Any(x => x == null)
-x
here is an unknown identifier.So I'm note sure whether this is an expected behaviour, because from expression inputs perspective - yes it's unknown, however it won't raise any compilation errors (since I enabled lambdas) and it's more likely a runtime variable rather than an unknown input identifier.
The text was updated successfully, but these errors were encountered: