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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/dictionary_type_mask.dart

Issue 212693003: Fix handling of union on DictionaryTypeMask. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: smaller patch that only fixes issue Created 6 years, 9 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 | « no previous file | tests/compiler/dart2js_extra/17856_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/types/dictionary_type_mask.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/dictionary_type_mask.dart b/sdk/lib/_internal/compiler/implementation/types/dictionary_type_mask.dart
index 72d73e22ecf2a749252c33714be65621c9811706..3bd0f6f704eec6110a32534f0d815defb68ea1c9 100644
--- a/sdk/lib/_internal/compiler/implementation/types/dictionary_type_mask.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/dictionary_type_mask.dart
@@ -90,7 +90,7 @@ class DictionaryTypeMask extends MapTypeMask {
}
});
return new DictionaryTypeMask(newForwardTo, null, null,
- keyType, valueType, mappings);
+ newKeyType, newValueType, mappings);
} else if (other.isMap &&
(other.keyType != null) &&
(other.valueType != null)) {
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/17856_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698