Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
@@ -11,7 +11,7 @@ class B<S> : A<Z<S>>() {
|
||||
val t2: Z<Z<S>>
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
fun foo<S>(t1: Z<S>, t2: Z<Z<S>>, s1: S, s2: Z<S>): Boolean = true
|
||||
fun <S> foo(t1: Z<S>, t2: Z<Z<S>>, s1: S, s2: Z<S>): Boolean = true
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
inner class X : Z<Z<S>> {
|
||||
@@ -32,7 +32,7 @@ class C<K> : A<B<K>>() {
|
||||
val t2: Z<B<K>>
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
fun foo<S>(t1: B<K>, t2: Z<B<K>>, s1: S, s2: Z<S>): Boolean = true
|
||||
fun <S> foo(t1: B<K>, t2: Z<B<K>>, s1: S, s2: Z<S>): Boolean = true
|
||||
|
||||
// INFO: {"checked": "true"}
|
||||
inner class X : Z<B<K>> {
|
||||
|
||||
Reference in New Issue
Block a user