/[eiffelstudio]/trunk/eweasel/tests/multicon061/test1.e
ViewVC logotype

Annotation of /trunk/eweasel/tests/multicon061/test1.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84177 - (hide annotations)
Fri Aug 13 22:46:13 2010 UTC (9 years, 6 months ago) by manus
File size: 438 byte(s)
New test showing that some objects depending on a generic expanded class are created with an incorrect type.

1 manus 84177 class
2     TEST1 [G]
3    
4     feature
5    
6     do_something
7     local
8     l_g: like g
9     l_f: like f
10     do
11     io.put_string (generating_type)
12     io.put_new_line
13     io.put_string ({like Current})
14     io.put_new_line
15    
16     create l_g
17     io.put_string (l_g.generating_type)
18     io.put_new_line
19    
20     create l_f
21     io.put_string (l_f.generating_type)
22     io.put_new_line
23     end
24    
25    
26     f: like Current
27     do
28     create Result
29     end
30    
31     g: TEST1 [G]
32     do
33     create Result
34     end
35    
36     end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23