Do not render declarations from other modules in diagnostic tests
Because PackageViewDescriptor may consist of several package fragments from different modules (see LazyPackageViewDescriptorImpl#fragments), we now filter out fragments from irrelevant modules before rendering them into the .txt
This commit is contained in:
Vendored
-12
@@ -17,10 +17,6 @@ package
|
||||
|
||||
package p {
|
||||
|
||||
public interface B {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public interface C : p.B {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public abstract override /*1*/ fun </*0*/ T> foo(/*0*/ a: T): p.B?
|
||||
@@ -51,12 +47,4 @@ public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
public interface B {
|
||||
// -- Module: <m3> --
|
||||
}
|
||||
|
||||
public interface C : p.B {
|
||||
// -- Module: <m2> --
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user