Merge: tests: Test result update for `curl_http`
[nit.git] / tests / sav / nitpretty_args61.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 do
30                 return 10 # comment 4
31         end
32         fun baz do return # comment 5
33         protected fun baz2 do end
34         fun other: String do
35                 return "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
36         end
37
38         fun foo1(arr: Array[String], len: Int, ind: Int): String do
39                 return "Hello World!"
40         end
41 end
42
43 # end
44