remove VariableDescriptor.inType

(approved by Andrey Breslav)
This commit is contained in:
Stepan Koltsov
2011-12-30 18:45:49 +04:00
parent 4b9e4b65b4
commit 6446e83b29
18 changed files with 46 additions and 105 deletions
@@ -743,7 +743,7 @@ public class JavaDescriptorResolver {
i,
Collections.<AnnotationDescriptor>emptyList(), // TODO
name,
null, // TODO : review
false,
changeNullable ? TypeUtils.makeNullableAsSpecified(outType, nullable) : outType,
hasDefaultValue,
varargElementType
@@ -767,7 +767,6 @@ public class JavaDescriptorResolver {
null,
DescriptorUtils.getExpectedThisObjectIfNeeded(containingDeclaration),
field.getName(),
isFinal ? null : type,
type);
semanticServices.getTrace().record(BindingContext.VARIABLE, field, propertyDescriptor);
fieldDescriptorCache.put(field, propertyDescriptor);