Working with the new features in 1.4 and finding s...
# language-evolution
r
Working with the new features in 1.4 and finding some limitations such as the ability to declare abstract suspend members in
fun interface
. Is this just a current limitation or something that would not be supported because of the way SAM interop works in the compiler?
Copy code
fun interface DelimitedContinuation<A, B> {
  suspend operator fun invoke(a: A): B //fails to compile
}
g
Yeah, it's existing limitation, same way as extending suspend lambda is not allowed now, as I know it's planned to support eventually I think I saw a related issue
r
If I suppress it seems to generate valid bytecode. Will look to see if resolved calls work as well, thanks @gildor
👍 1
g
ahh, right, I saw this message, not an issue!
r
that is great news they are gonna help us with arrow big time, thanks @dmitriy.novozhilov
👌 1
e
@dmitriy.novozhilov if the bug is fixed will we see support for extending “suspend lambdas”?
Copy code
interface Foo : suspend (Params) -> OutPut
d
Yes, I think so
🎉 1
👏 1