/[eiffelstudio]/trunk/eweasel/tests/final104/test.e
ViewVC logotype

Contents of /trunk/eweasel/tests/final104/test.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86359 - (show annotations)
Wed May 4 16:24:36 2011 UTC (8 years, 9 months ago) by dhollen
File size: 604 byte(s)
Added test final104 for bug #17494, where an expanded class that creates
an object of type `like Current' via several function calls whose
return type is anchored shows the generating type of the object as
"reference TEST" when system is finalized.

1
2 expanded class TEST
3
4 create
5 make, default_create
6 feature
7
8 make
9 do
10 print (a.generating_type); io.new_line
11 print (b.generating_type); io.new_line
12 print (value.generating_type); io.new_line
13 end
14
15 value: like a
16 do
17 Result := a
18 end
19
20 a: like b
21 do
22 Result := b
23 end
24
25 b: like Current
26 do
27 create Result
28 end
29 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23