/[eiffelstudio]/trunk/eweasel/tests/anchor066/test2.e
ViewVC logotype

Contents of /trunk/eweasel/tests/anchor066/test2.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87565 - (show annotations)
Fri Oct 21 19:46:48 2011 UTC (8 years, 3 months ago) by dhollen
File size: 179 byte(s)
Added test anchor066 for bug #17903, where a qualified anchored type in
braces that resolves to NONE crashes the compiler when system is finalized.
Unqualifed anchored types that resolve to NONE also do not work correctly.

1
2 class TEST2 [G -> TEST1 [ANY]]
3 feature
4 try
5 do
6 print ({NONE}); io.new_line
7 print ({like y}); io.new_line
8 print ({like {G}.x}); io.new_line
9 end
10
11 x: G
12
13 y: NONE
14 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23