--| 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 generic-agent-add-constraint test_description After initial compilation, a generic constraint is added to the formal generic parameter G of a class and changes are recompiled. Printing the generating type of `agent {G}.generator' then produces the wrong output (same as before the change). define CONSTRAINT "" 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 compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output1 define CONSTRAINT "-> TEST2" copy_sub test1.e $CLUSTER test1.e compile_melted compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output2 test_end