tests/sav: Update tests results
[nit.git] / tests / sav / nitpretty_args59.res
1 # This file is part of NIT ( http://www.nitlanguage.org ).
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # comment 1
16 class A
17         type FOO: Discrete
18         private var foo: FOO # comment
19         # comment 2
20         var bar: Int = 10
21 end
22
23 class B
24         super A
25
26         redef type FOO: Int
27         # comment 3
28         redef fun foo do return bar # comment
29         redef fun bar
30         do
31                 return 10 # comment 4
32         end
33         fun baz do return # comment 5
34         protected fun baz2 do end
35         fun other: String do
36                 return "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +
37                         "aaaaaaaaaaaaaaaaaaaaaaaaaa"
38         end
39
40         fun foo1(arr: Array[String], len: Int, ind: Int): String
41         do
42                 return "Hello World!"
43         end
44 end
45
46 # end
47