Minor. Comment removed
This commit is contained in:
@@ -112,8 +112,6 @@ public class ScriptHeaderResolver {
|
|||||||
Name className = nameForScript.shortName();
|
Name className = nameForScript.shortName();
|
||||||
ScriptDescriptor scriptDescriptor = new ScriptDescriptorImpl(ns, priority, outerScope, className);
|
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");
|
WritableScopeImpl scriptScope = new WritableScopeImpl(outerScope, scriptDescriptor, RedeclarationHandler.DO_NOTHING, "script");
|
||||||
scriptScope.changeLockLevel(WritableScope.LockLevel.BOTH);
|
scriptScope.changeLockLevel(WritableScope.LockLevel.BOTH);
|
||||||
|
|
||||||
|
|||||||
@@ -178,8 +178,6 @@ public class ScriptDescriptorImpl extends DeclarationDescriptorNonRootImpl imple
|
|||||||
parameter.getType(),
|
parameter.getType(),
|
||||||
Collections.<TypeParameterDescriptor>emptyList(),
|
Collections.<TypeParameterDescriptor>emptyList(),
|
||||||
classDescriptor.getThisAsReceiverParameter(), ReceiverParameterDescriptor.NO_RECEIVER_PARAMETER);
|
classDescriptor.getThisAsReceiverParameter(), ReceiverParameterDescriptor.NO_RECEIVER_PARAMETER);
|
||||||
//PropertyGetterDescriptor getter = DescriptorResolver.createDefaultGetter(propertyDescriptor);
|
|
||||||
//getter.initialize(propertyDescriptor.getType());
|
|
||||||
propertyDescriptor.initialize(null, null);
|
propertyDescriptor.initialize(null, null);
|
||||||
classScope.addPropertyDescriptor(propertyDescriptor);
|
classScope.addPropertyDescriptor(propertyDescriptor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user