Ignore handleReturn calls if functions is not operator

This commit is contained in:
Denis Zharkov
2016-06-08 13:02:42 +03:00
parent 692acc463a
commit e802049fd0
3 changed files with 3 additions and 3 deletions

View File

@@ -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)
}

View File

@@ -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)
}