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

Unified Diff: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart

Issue 2508513003: Fix issue #27830: the type of an super-set assignment expression is the type of (Closed)
Patch Set: Created 4 years, 1 month 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/inference_super_set_call_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
index 3507e5fab3d127fb2dc007ba59d77d26c358cbd0..f6cdaceffac2cc245792f6c055f5d8873bc9e034 100644
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
@@ -1473,8 +1473,9 @@ class SimpleTypeInferrerVisitor<T>
isThisExposed = true;
Selector selector = elements.getSelector(node);
TypeMask mask = inTreeData.typeOfSend(node);
- return handleStaticSend(
+ handleStaticSend(
node, selector, mask, element, new ArgumentsTypes<T>([rhsType], null));
+ return rhsType;
}
@override
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/inference_super_set_call_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698