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

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

Issue 2595583002: Remove StatementType (Closed)
Patch Set: 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
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) &&

Powered by Google App Engine
This is Rietveld 408576698