More information in debug message: file name

This commit is contained in:
Andrey Breslav
2013-11-16 13:35:30 +04:00
parent d9444fea09
commit dbd12b0c60
@@ -446,7 +446,7 @@ public class TypeHierarchyResolver {
context.getNamespaceDescriptors().put(file, namespaceDescriptor);
WriteThroughScope namespaceScope = new WriteThroughScope(outerScope, namespaceDescriptor.getMemberScope(),
new TraceBasedRedeclarationHandler(trace), "namespace");
new TraceBasedRedeclarationHandler(trace), "namespace in file " + file.getName());
namespaceScope.changeLockLevel(WritableScope.LockLevel.BOTH);
context.getNamespaceScopes().put(file, namespaceScope);