--| 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 remove-constraint-veen-die test_description A generic class whose formal generic parameter G is constrained by STRING has a call to `n.count' where `n: G'. After initial compilation, the generic constraint is removed. When the system is recompiled, the compiler does not detect the newly introduced VEEN error and dies during degree 2 on the class. define CONSTRAINT "-> STRING" copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e compile_melted compile_result ok define CONSTRAINT "" copy_sub test1.e $CLUSTER test1.e compile_melted compile_result validity_error TEST1 VEEN test_end