From 14e292ed7ed7ce01862bd81ccfd9f7c5bfed08bf Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Thu, 7 Jun 2012 10:46:26 +0400 Subject: [PATCH] Fixing compilation --- .../plugin/references/StandardLibraryReferenceResolver.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/idea/src/org/jetbrains/jet/plugin/references/StandardLibraryReferenceResolver.java b/idea/src/org/jetbrains/jet/plugin/references/StandardLibraryReferenceResolver.java index f2c1248d02d..04c4096dfae 100644 --- a/idea/src/org/jetbrains/jet/plugin/references/StandardLibraryReferenceResolver.java +++ b/idea/src/org/jetbrains/jet/plugin/references/StandardLibraryReferenceResolver.java @@ -78,8 +78,7 @@ public class StandardLibraryReferenceResolver extends AbstractProjectComponent { FakeJetNamespaceDescriptor jetNamespace = new FakeJetNamespaceDescriptor(); context.record(BindingContext.FQNAME_TO_NAMESPACE_DESCRIPTOR, JetStandardClasses.STANDARD_CLASSES_FQNAME, jetNamespace); - WritableScopeImpl scope = new WritableScopeImpl(JetScope.EMPTY, jetNamespace, RedeclarationHandler.THROW_EXCEPTION) - .setDebugName("Builtin classes scope"); + WritableScopeImpl scope = new WritableScopeImpl(JetScope.EMPTY, jetNamespace, RedeclarationHandler.THROW_EXCEPTION, "Builtin classes scope"); scope.changeLockLevel(WritableScope.LockLevel.BOTH); jetNamespace.setMemberScope(scope); @@ -87,7 +86,7 @@ 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).setDebugName("Builtin classes scope #2"); + scope = new WritableScopeImpl(scope, jetNamespace, RedeclarationHandler.THROW_EXCEPTION, "Builtin classes scope #2"); scope.changeLockLevel(WritableScope.LockLevel.BOTH); scope.addClassifierAlias(JetStandardClasses.UNIT_ALIAS, tuple0); jetNamespace.setMemberScope(scope);