mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
Fir Java: add type parameters to constructors and their return types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
public open class ConstructorWithNewTypeParams<T> : R|java/lang/Object| {
|
||||
public constructor(first: R|ft<U, U?>|!): R|test/ConstructorWithNewTypeParams|
|
||||
public constructor(first: R|ft<U, U?>|!): R|test/ConstructorWithNewTypeParams<T>|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
public open class ConstructorWithParentTypeParams<T> : R|java/lang/Object| {
|
||||
public constructor(first: R|ft<T, T?>|!): R|test/ConstructorWithParentTypeParams|
|
||||
public constructor(first: R|ft<T, T?>|!): R|test/ConstructorWithParentTypeParams<T>|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user