Skip to content

Commit 7c05c62

Browse files
Florian KroenertFlorian Kroenert
authored andcommitted
Fix issue
1 parent 66c5b39 commit 7c05c62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/Xrm.Oss.XTL.Interpreter/XTLInterpreter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ private ValueExpression Formula(Dictionary<string, ValueExpression> args)
323323
Match(')');
324324

325325
var usedReservedWords = variableNames
326-
.Where(n => new List<string> { "true", "false", "null" }.Concat(_handlers.Keys).Concat(_interpreterConfig?.CustomHandlers?.Keys ?? new List<string>()).Contains(n))
326+
.Where(n => new List<string> { "true", "false", "null" }.Concat(_handlers.Keys).Concat(_interpreterConfig?.CustomHandlers?.Keys?.ToList() ?? new List<string>()).Contains(n))
327327
.ToList();
328328

329329
if (usedReservedWords.Count > 0)

0 commit comments

Comments
 (0)