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:
-16
@@ -52,20 +52,4 @@ public final class Foo : p.A<kotlin.String>, p.B {
|
||||
}
|
||||
|
||||
package p {
|
||||
|
||||
public interface A</*0*/ T> : p.Base<T> {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public interface B : p.Base<kotlin.String> {
|
||||
// -- Module: <m2> --
|
||||
}
|
||||
|
||||
public interface Base</*0*/ T> {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public interface Base</*0*/ T> {
|
||||
// -- Module: <m2> --
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user