1 # This file is part of NIT ( http://www.nitlanguage.org ).
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 fun b
(b1
: Int) is abstract
18 fun c
(c1
: Int, c2
: Int) is abstract
19 fun d
: Object is abstract
20 fun e
(e1
: Int): Object is abstract
27 redef fun b
(b1
) do end
28 redef fun c
(c1
, c2
) do end
29 redef fun d
do return ""
30 redef fun e
(e1
) do return ""
37 redef fun b
(b1
: Int) do end
38 redef fun c
(c1
: Int, c2
: Int) do end
39 redef fun d
: Object do return ""
40 redef fun e
(e1
: Int): Object do return ""
46 redef fun b
(b1
) do end
47 redef fun c
(c1
, c2
) do end
48 redef fun d
: Int do return 1
49 redef fun e
(e1
: Int): Numeric do return 1