mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
15 lines
196 B
Kotlin
Vendored
15 lines
196 B
Kotlin
Vendored
package usage
|
|
|
|
import lib.*
|
|
|
|
fun fail(foo: <error>Foo</error>): <error>Foo</error> {
|
|
<error>bar</error>()
|
|
return foo
|
|
}
|
|
|
|
@ExperimentalAPI
|
|
fun ok(foo: Foo): Foo {
|
|
bar()
|
|
return foo
|
|
}
|