Files
kotlin-fork/compiler/fir/psi2fir/testData/rawBuilder/declarations/genericFunctions.txt
T
Simon Ogorodnik 9ebefa3ba6 FIR: make FunctionType class-like, refactor built-ins resolution
This breaks total kotlin resolve test because of incorrect rendering
of ConeClassErrorType (we are trying to read its symbol)
2019-02-19 09:54:28 +03:00

13 lines
347 B
Plaintext
Vendored

FILE: genericFunctions.kt
public? final? interface Any {
}
<reified T : Any> public? final? inline function safeAs Any.(): T? {
return@@@safeAs as?/T(this#)
}
public? abstract class Summator {
public? constructor(): super<kotlin/Any>()
<T> public? abstract function plus(first: T, second: T): T
}