Report incomplete hierarchy error for deserialized types
#KT-5129 Fixed Delete a JPS test that was specifically testing that we would not fail in this situation; now there's a compilation error
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public open class Super {
|
||||
public fun foo() {}
|
||||
}
|
||||
|
||||
public open class Sub : Super()
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
error: supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
|
||||
class test.Sub, unresolved supertypes: test.Super
|
||||
|
||||
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyInKotlin/source.kt:5:22: error: unresolved reference: foo
|
||||
fun bar() = SubSub().foo()
|
||||
^
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import test.Sub
|
||||
|
||||
class SubSub : Sub()
|
||||
|
||||
fun bar() = SubSub().foo()
|
||||
Reference in New Issue
Block a user