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

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

Issue 2707933002: Tests for `void`.
Patch Set: More tests. Created 3 years, 10 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
Index: pkg/compiler/lib/src/serialization/type_serialization.dart
diff --git a/pkg/compiler/lib/src/serialization/type_serialization.dart b/pkg/compiler/lib/src/serialization/type_serialization.dart
index c5f68c848f3fdf76fde99bba3fb3c6e9929190fc..457ecbcaed109e59718c0179c52b92f3bb1e728d 100644
--- a/pkg/compiler/lib/src/serialization/type_serialization.dart
+++ b/pkg/compiler/lib/src/serialization/type_serialization.dart
@@ -98,8 +98,6 @@ class TypeDeserializer {
return new MalformedType(decoder.getElement(Key.ELEMENT), null);
case ResolutionTypeKind.DYNAMIC:
return const ResolutionDynamicType();
- case ResolutionTypeKind.VOID:
- return const ResolutionVoidType();
}
}
}

Powered by Google App Engine
This is Rietveld 408576698