Remove propertySet from TypeInferenceListener.

We never use this method; we use propertyAssign instead.

Change-Id: I179c48369b5317574975dd3b847af5f3f7753914
Reviewed-on: https://dart-review.googlesource.com/66780
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
Paul Berry 2018-07-25 20:33:58 +00:00 committed by commit-bot@chromium.org
parent 74d480b27f
commit 98fd0f3b6d
5 changed files with 0 additions and 24 deletions

View file

@ -487,10 +487,6 @@ class ResolutionStorer
_store(location, isExplicitCall: true);
}
void propertySet(
ExpressionJudgment judgment, int location, DartType inferredType) =>
genericExpression("propertySet", location, inferredType);
void redirectingInitializer(
InitializerJudgment judgment,
int location,

View file

@ -326,9 +326,6 @@ abstract class Factory<Expression, Statement, Initializer, Type> {
Expression propertyGetCall(
ExpressionJudgment judgment, int fileOffset, DartType inferredType);
Expression propertySet(
ExpressionJudgment judgment, int fileOffset, DartType inferredType);
Initializer redirectingInitializer(
InitializerJudgment judgment,
int fileOffset,

View file

@ -486,12 +486,6 @@ class KernelFactory
return judgment;
}
@override
Expression propertySet(
ExpressionJudgment judgment, int fileOffset, DartType inferredType) {
return judgment;
}
@override
Initializer redirectingInitializer(
InitializerJudgment judgment,

View file

@ -379,10 +379,6 @@ class ToplevelInferenceFactory implements Factory<void, void, void, void> {
void propertyGetCall(
ExpressionJudgment judgment, int fileOffset, DartType inferredType) {}
@override
void propertySet(
ExpressionJudgment judgment, int fileOffset, DartType inferredType) {}
@override
void redirectingInitializer(
InitializerJudgment judgment,

View file

@ -338,9 +338,6 @@ abstract class TypeInferenceListener<Location, Reference, PrefixInfo> {
void propertyGetCall(
ExpressionJudgment judgment, Location location, DartType inferredType);
void propertySet(
ExpressionJudgment judgment, Location location, DartType inferredType);
void redirectingInitializer(
InitializerJudgment judgment,
Location location,
@ -830,10 +827,6 @@ class KernelTypeInferenceListener
void propertyGetCall(
ExpressionJudgment judgment, location, DartType inferredType) {}
@override
void propertySet(
ExpressionJudgment judgment, location, DartType inferredType) {}
@override
void redirectingInitializer(
InitializerJudgment judgment,