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:
-13
@@ -42,17 +42,4 @@ package
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: p.A): kotlin.Unit
|
||||
|
||||
public final class A {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public final class A {
|
||||
// -- Module: <m2> --
|
||||
}
|
||||
|
||||
public final class B {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user