--| Copyright (c) 1993-2006 University of Southern California and contributors. --| All rights reserved. --| Your use of this work is governed under the terms of the GNU General --| Public License version 2. -- This is a test control file test_name two-generic-precursors test_description The precursor construct is used in a routine inherited twice from the same generic class with different actual generic parameters. The compiler thinks the precursor routine returns one type, but it actually returns a child type so system execution fails. If the order of the parent clauses is switched, the compiler reports a VJAR error instead of accepting the classes. define TEST3 "TEST3" copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_sub 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 validity_error TEST1 ECMA-VHPR(5) define TEST3 "TEST4" copy_sub test1.e $CLUSTER test1.e resume_compile compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output1 test_end