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

Unified Diff: sdk/lib/_internal/compiler/implementation/typechecker.dart

Issue 26662006: Changed LinkedHashSet to Set and LinkedHashMap to Map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: HashMap -> Map. Created 7 years, 2 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: sdk/lib/_internal/compiler/implementation/typechecker.dart
diff --git a/sdk/lib/_internal/compiler/implementation/typechecker.dart b/sdk/lib/_internal/compiler/implementation/typechecker.dart
index 2cc56efd9b0ea3a2ece6b4efb2e69d2d67192d89..30663883fe43d68b9d2a75244e6d030c8f86e7dd 100644
--- a/sdk/lib/_internal/compiler/implementation/typechecker.dart
+++ b/sdk/lib/_internal/compiler/implementation/typechecker.dart
@@ -1197,8 +1197,7 @@ class TypeCheckerVisitor extends Visitor<DartType> {
// TODO(johnniwinther): Handle reachability based on reachability of
// switch cases.
DartType expressionType = analyze(node.expression);
- Map<CaseMatch, DartType> caseTypeMap =
- new LinkedHashMap<CaseMatch, DartType>();
+ Map<CaseMatch, DartType> caseTypeMap = new Map<CaseMatch, DartType>();
for (SwitchCase switchCase in node.cases) {
for (Node labelOrCase in switchCase.labelsAndCases) {
CaseMatch caseMatch = labelOrCase.asCaseMatch();

Powered by Google App Engine
This is Rietveld 408576698