More details in the assertion

This commit is contained in:
Andrey Breslav
2012-06-09 15:52:16 +04:00
parent 86b08d89cf
commit 52d175108d
@@ -1021,7 +1021,7 @@ public class JavaDescriptorResolver implements DependencyClassByQualifiedNameRes
return null; return null;
} }
if (resolverNamespaceData == ResolverNamespaceData.NEGATIVE) { if (resolverNamespaceData == ResolverNamespaceData.NEGATIVE) {
throw new IllegalStateException("This means that we are trying to create a Java package, but have a package with the same FQN defined in Kotlin"); throw new IllegalStateException("This means that we are trying to create a Java package, but have a package with the same FQN defined in Kotlin: " + fqName);
} }
JavaPackageScope scope = resolverNamespaceData.memberScope; JavaPackageScope scope = resolverNamespaceData.memberScope;
if (scope == null) { if (scope == null) {