Fixed: return null instead of throwing an exception

This commit is contained in:
arookas 2016-02-01 05:51:04 -05:00
parent 5292b55078
commit 4aebe57432

View file

@ -80,7 +80,7 @@ namespace arookas {
if (symbol != null) {
return symbol;
}
throw new sunUndefinedFunctionException(node);
return null;
}
public sunCallableSymbol MustResolveCallable(sunFunctionCall node) {
var symbol = ResolveCallable(node);