Files
kotlin/compiler/testData/versionRequirement/inlineClassesAndRelevantDeclarations.kt
Mikhail Zarechenskiy 09cd038e4b Fix test about version requirement
We began to write version requirement on declarations with `Result` and
 now (after bootstrap) we are getting error in this test because of that
 version requirement.

 see 908be10bf4
2018-09-20 17:58:56 +03:00

18 lines
264 B
Kotlin
Vendored

package test
inline class IC(val x: String)
typealias ICAlias = IC
class Ctor(ic: IC)
fun simpleFun(f: IC) {}
fun aliasedFun(f: ICAlias) {}
val simpleProp: IC = IC("")
fun result(r: List<Result<Any>?>) {}
abstract class Foo : List<IC>
interface Bar<T : IC>