-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
There is currently no way to tell if the return of a call statement in a expression is a posreg, or a numreg, due to handle_arg_funcs in CallNode being evaluated during parsing, before the functions are evaluated, and the return type of a function is decided. Also the preprocessing of local variables is done before funtions.
# first pass
#---------
#set a list of declared positions into @pose_list
#populate_pose_set
#create definitions from ranges
traverse_nodes(@nodes, :preprocess_local_variables)
# second pass
#----------
#prepare/allocate functions
traverse_nodes(@nodes, :preprocess_functions)This may have to be switched around in order for this issue to be resolved.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working