FIR: resolve function type parameters
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
interface Any
|
||||
|
||||
inline fun <reified T : Any> Any.safeAs(): T? = this as? T
|
||||
|
||||
abstract class Summator {
|
||||
abstract fun <T> plus(first: T, second: T): T
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
FILE: genericFunctions.kt
|
||||
(resolved) public? abstract interface Any() {
|
||||
}
|
||||
<reified T : Any> public? final? inline function safeAsR/Any/.(): R/T/ {
|
||||
STUB
|
||||
}
|
||||
(resolved) public? abstract class Summator() {
|
||||
<T> public? abstract function plus(first: R/T/, second: R/T/): R/T/
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user