Fir Java: add type parameters to constructors and their return types

This commit is contained in:
Mikhail Glukhikh
2019-04-18 18:05:18 +03:00
parent 5bf489327d
commit f8bb1d161a
3 changed files with 14 additions and 6 deletions

View File

@@ -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>|
}

View File

@@ -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>|
}