Refactor Value and EvaluatorOutput models in order to get rid of optionals(?)
This commit is contained in:
@@ -39,6 +39,6 @@ object FunctionEnvironmentProvider {
|
||||
index: Int
|
||||
) = (node.identifier as IdentifierNode).token.rawValue to
|
||||
if (index < actualArgs.size) actualArgs[index]
|
||||
else evaluator.evaluate(node.defaultValue, environment).value!!
|
||||
else evaluator.evaluate(node.defaultValue, environment).value
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user