more work on if statements

This commit is contained in:
Jesse Bannon 2024-06-03 00:48:11 -07:00
parent c122e535c1
commit f22a072ff2

View file

@ -283,6 +283,8 @@ class BuiltInFunction(Function, BuiltInFunctionType):
custom_functions=custom_functions, custom_functions=custom_functions,
) )
# TODO: Make conditionals not execute all branches!!!
try: try:
return self.callable(*resolved_arguments) return self.callable(*resolved_arguments)
except (UserThrownRuntimeError, RuntimeException): except (UserThrownRuntimeError, RuntimeException):