/[eiffelstudio]/trunk/eweasel/tests/incr318/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/incr318/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 76905 - (show annotations)
Fri Jan 30 17:23:19 2009 UTC (10 years, 8 months ago) by dhollen
File size: 834 byte(s)
Added eweasel test incr318 for bug #15350, where removing a convert clause from
a class fixes a VNCP error (two classes convert to each other) but the compiler
still reports VNCP.

1
2 --| Copyright (c) 1993-2006 University of Southern California and contributors.
3 --| All rights reserved.
4 --| Your use of this work is governed under the terms of the GNU General
5 --| Public License version 2.
6
7 -- This is a test control file
8
9 test_name remove-convert-clause-bogus-vncp
10 test_description After the compiler correctly detects a VNCP error because two classes convert to each other, the entire convert clause is removed from one of the classes. This fixes the error but the compiler still reports VNCP
11
12
13 define CONVERT "convert to_test: {TEST}, make_from_test ({TEST})"
14 copy_sub Ace $TEST Ace
15 copy_raw test.e $CLUSTER test.e
16 copy_sub test1.e $CLUSTER test1.e
17 compile_melted
18 compile_result validity_error TEST1 VNCP
19
20 define CONVERT ""
21 copy_sub test1.e $CLUSTER test1.e
22 resume_compile
23 compile_result ok
24
25 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23