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

Contents of /trunk/eweasel/tests/valid279/test1.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 94738 - (show annotations)
Thu Mar 27 20:01:55 2014 UTC (5 years, 6 months ago) by manus
File size: 233 byte(s)
Added a new test showing that the compiler removes the type of an anchor to evaluate some expression, such as the one used to evaluate the type of a manifest tuple.

1 class TEST1
2
3 create
4 make
5
6 feature
7
8 foo: ANY
9
10 make (a_foo: like foo)
11 local
12 t3: TEST3 [like foo]
13 do
14 foo := a_foo
15 create t3.make (a_foo)
16 io.put_string (([t3.item]).generating_type.name)
17 io.put_new_line
18 end
19
20
21 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23