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:
@@ -31,14 +31,6 @@ package a {
|
||||
package
|
||||
|
||||
package a {
|
||||
|
||||
public final class a {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public final class b {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
}
|
||||
|
||||
package test {
|
||||
@@ -57,18 +49,8 @@ package test {
|
||||
package
|
||||
|
||||
package a {
|
||||
|
||||
public final class a {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public final class b {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
}
|
||||
|
||||
package test {
|
||||
public fun foo(/*0*/ i: a.a): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user