Replaced "Builtin classes scope #2" debug name with more meaningful name.

This commit is contained in:
Evgeny Gerashchenko
2012-06-08 16:38:19 +04:00
parent 6e5724edb6
commit ecf8b1ea25
@@ -86,7 +86,8 @@ public class StandardLibraryReferenceResolver extends AbstractProjectComponent {
ClassDescriptor tuple0 = context.get(BindingContext.FQNAME_TO_CLASS_DESCRIPTOR, TUPLE0_FQ_NAME);
assert tuple0 != null;
scope = new WritableScopeImpl(scope, jetNamespace, RedeclarationHandler.THROW_EXCEPTION, "Builtin classes scope #2");
scope = new WritableScopeImpl(scope, jetNamespace, RedeclarationHandler.THROW_EXCEPTION,
"Builtin classes scope: needed to analyze builtins which depend on Unit type alias");
scope.changeLockLevel(WritableScope.LockLevel.BOTH);
scope.addClassifierAlias(JetStandardClasses.UNIT_ALIAS, tuple0);
jetNamespace.setMemberScope(scope);