mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Ignore handleReturn calls if functions is not operator
This commit is contained in:
2
compiler/testData/codegen/java8/box/async.kt
vendored
2
compiler/testData/codegen/java8/box/async.kt
vendored
@@ -71,7 +71,7 @@ class FutureController<T> {
|
||||
}
|
||||
}
|
||||
|
||||
fun handleResult(value: T, c: Continuation<Nothing>) {
|
||||
operator fun handleResult(value: T, c: Continuation<Nothing>) {
|
||||
future.complete(value)
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class FutureController<T> {
|
||||
}
|
||||
}
|
||||
|
||||
fun handleResult(value: T, c: Continuation<Nothing>) {
|
||||
operator fun handleResult(value: T, c: Continuation<Nothing>) {
|
||||
future.complete(value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user