mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
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
18 lines
264 B
Kotlin
Vendored
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>
|