Is it possible somehow? ```interface A interface ...
# getting-started
n
Is it possible somehow?
Copy code
interface A

interface B: A

context(A)
fun a() = b(contextA as B) // <<< is this cast possible somehow?
        
fun b(b: B) = ...
Thanks.
j
this@A as B
doesn’t work?
1
n
It works, thanks 🙂 (I'm new to context receivers, and Idea's context assist did not offer this option, so it did not come to my mind 🙄)
It's funny, I've run into this almost immediately 🙂 https://youtrack.jetbrains.com/issue/KT-55378/Context-receivers-Interface-with-context-r[…]be-implemented-without-the-receiver-and-throws-at-runtime Fortunately the fix is easy but to find the cause of the problem was not...