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

Unified Diff: pkg/compiler/lib/src/types/container_type_mask.dart

Issue 2941033002: Finish strong mode cleaning of dart2js. (Closed)
Patch Set: Add bug numbers and address comments. Created 3 years, 6 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/types/container_type_mask.dart
diff --git a/pkg/compiler/lib/src/types/container_type_mask.dart b/pkg/compiler/lib/src/types/container_type_mask.dart
index edad3af22c807312b5261506ad192b87199b529b..cd5697aaf00c309ea1d155133c29db3405b42586 100644
--- a/pkg/compiler/lib/src/types/container_type_mask.dart
+++ b/pkg/compiler/lib/src/types/container_type_mask.dart
@@ -56,7 +56,7 @@ class ContainerTypeMask extends ForwardingTypeMask {
return forwardIntersection.isNullable ? nullable() : nonNullable();
}
- TypeMask union(other, ClosedWorld closedWorld) {
+ TypeMask union(dynamic other, ClosedWorld closedWorld) {
if (this == other) {
return this;
} else if (equalsDisregardNull(other)) {
« no previous file with comments | « pkg/compiler/lib/src/ssa/variable_allocator.dart ('k') | pkg/compiler/lib/src/types/dictionary_type_mask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698