Minor. Comment removed

This commit is contained in:
Andrey Breslav
2014-03-27 14:06:14 +04:00
parent 19e5e322fe
commit 39c06e19e4
2 changed files with 0 additions and 4 deletions
@@ -112,8 +112,6 @@ public class ScriptHeaderResolver {
Name className = nameForScript.shortName();
ScriptDescriptor scriptDescriptor = new ScriptDescriptorImpl(ns, priority, outerScope, className);
//WriteThroughScope scriptScope = new WriteThroughScope(
// outerScope, ns.getMemberScope(), new TraceBasedRedeclarationHandler(trace));
WritableScopeImpl scriptScope = new WritableScopeImpl(outerScope, scriptDescriptor, RedeclarationHandler.DO_NOTHING, "script");
scriptScope.changeLockLevel(WritableScope.LockLevel.BOTH);
@@ -178,8 +178,6 @@ public class ScriptDescriptorImpl extends DeclarationDescriptorNonRootImpl imple
parameter.getType(),
Collections.<TypeParameterDescriptor>emptyList(),
classDescriptor.getThisAsReceiverParameter(), ReceiverParameterDescriptor.NO_RECEIVER_PARAMETER);
//PropertyGetterDescriptor getter = DescriptorResolver.createDefaultGetter(propertyDescriptor);
//getter.initialize(propertyDescriptor.getType());
propertyDescriptor.initialize(null, null);
classScope.addPropertyDescriptor(propertyDescriptor);
}