Minor: include descriptor itself in exception from DependenciesCollector
This commit is contained in:
@@ -63,7 +63,7 @@ class DependenciesCollector {
|
|||||||
return when (containingDeclaration) {
|
return when (containingDeclaration) {
|
||||||
is PackageFragmentDescriptor -> descriptor
|
is PackageFragmentDescriptor -> descriptor
|
||||||
is ClassDescriptor -> getTopLevelDeclaration(containingDeclaration)
|
is ClassDescriptor -> getTopLevelDeclaration(containingDeclaration)
|
||||||
else -> throw AssertionError("Package or class expected: $containingDeclaration")
|
else -> throw AssertionError("Package or class expected: $containingDeclaration; for $descriptor")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user