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

Unified Diff: pkg/compiler/lib/src/serialization/equivalence.dart

Issue 2595583002: Remove StatementType (Closed)
Patch Set: Updated cf. comment Created 4 years 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/kernel/kernel.dart ('k') | pkg/compiler/lib/src/serialization/type_serialization.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/serialization/equivalence.dart
diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart
index c9f03f285dbd8875ac58071c18058c074517c84e..81aefc987540e74e0bca49cb2a2a74069f9828e8 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -629,11 +629,6 @@ class TypeEquivalence implements DartTypeVisitor<bool, DartType> {
bool visitMalformedType(MalformedType type, MalformedType other) => true;
@override
- bool visitStatementType(StatementType type, StatementType other) {
- throw new UnsupportedError("Unsupported type: $type");
- }
-
- @override
bool visitTypeVariableType(TypeVariableType type, TypeVariableType other) {
return strategy.testElements(
type, other, 'element', type.element, other.element) &&
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel.dart ('k') | pkg/compiler/lib/src/serialization/type_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698