fun<~A~> int test(A a, int i, int j) { <<<a>>>; }
}
class D extends C {
- fun int<~A~> test(A a, int i) { <<<this, " extent ", a, __func__>>>; }
+ fun<~A~> int test(A a, int i) { <<<this, " extent ", a, __func__>>>; }
}
class E extends D {
- fun int<~A~> test(A a, int i) { <<<this, " Extent ", a, __func__>>>; }
+ fun<~A~> int test(A a, int i) { <<<this, " Extent ", a, __func__>>>; }
}
-function void<~A,B~> test(A a, B b){<<<a, ", ", b>>>;}
+function <~A,B~> void test(A a, B b){<<<a, ", ", b>>>;}
test(1, 2.1);
test(1.1, 2.1);
test(1.2, 2);