tests/sav: Update tests results
[nit.git] / tests / sav / nitpretty_args13.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 class A
16         fun foo do end
17         fun bar(a: Int): Int do return 1
18         fun baz(a, b: Int) do end
19         fun gaz(a: Int, b: Float...) do end
20 end
21
22 fun top1 do end
23
24 fun top2(a: Int) do end
25
26 # comment 1
27 var a = new A # comment 2
28 a.foo # comment 3
29 a.bar 1 # comment 4
30 a.baz(1, 2) # comment 5
31 top1 # comment 6
32 top2 10 # comment 7
33 print 10 # comment 8
34 var b = a.bar(1)