I think there's a bug in IntelliJ when an "expect"...
# multiplatform
h
I think there's a bug in IntelliJ when an "expect" class has an Interface, the compiler accepts the following code but an error appears in the IDE on the "actual" class. I'm using the latest release candidate. Do you think I should file a bug report?
Copy code
expect class Sample: AutoCloseable {
    override fun close()
}

actual class Sample : AutoCloseable {
    actual override fun close() {
    }
}

Actual class 'Sample' has no corresponding expected declaration. The following declaration is incompatible because some supertypes are missing in the actual declaration: public final expect class Sample : AutoCloseable