Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart

Issue 1160313006: Revert "Refactoring resolution of local access and unqualified access of statics" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/helpers/trace.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
index 4e47c69801adbe5bcdb32ef428a024e6bad67c39..59372ca77ff9d2472237078b085a1247d12ebb86 100644
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
@@ -1696,26 +1696,6 @@ class SimpleTypeInferrerVisitor<T>
}
@override
- T visitStaticSetterInvoke(
- ast.Send node,
- MethodElement setter,
- ast.NodeList arguments,
- CallStructure callStructure,
- _) {
- return handleInvalidStaticInvoke(node);
- }
-
- @override
- T visitTopLevelSetterInvoke(
- ast.Send node,
- MethodElement setter,
- ast.NodeList arguments,
- CallStructure callStructure,
- _) {
- return handleInvalidStaticInvoke(node);
- }
-
- @override
T visitUnresolvedInvoke(
ast.Send node,
Element element,
@@ -1891,22 +1871,6 @@ class SimpleTypeInferrerVisitor<T>
}
@override
- T visitStaticSetterGet(
- ast.Send node,
- MethodElement setter,
- _) {
- return types.dynamicType;
- }
-
- @override
- T visitTopLevelSetterGet(
- ast.Send node,
- MethodElement setter,
- _) {
- return types.dynamicType;
- }
-
- @override
T visitUnresolvedGet(
ast.Send node,
Element element,
« no previous file with comments | « pkg/compiler/lib/src/helpers/trace.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698