test_name finalize-wrong-type test_description Finalizing a system where a routine type has an anchor to a query which is redefined from a function to an attribute via repeated inheritance where redefining in one branch and undefining in the other causes the compiler to generate the wrong type. copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e copy_raw test2.e $CLUSTER test2.e copy_raw test3.e $CLUSTER test3.e copy_raw test4.e $CLUSTER test4.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE exec_output2 execute_result ok compare exec_output2 output test_end