Index: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
index 5744eaf77906cc1c61a773352abec151c4ec1727..85dcbaa81ae60778bcaf34d6aa582dca09c3abab 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
@@ -1273,6 +1273,9 @@ class KernelMethodInvocation extends MethodInvocation |
// The inference dependencies are the inference dependencies of the |
// receiver. |
collector.collectDependencies(receiver); |
+ if (name == '+' || name == '-' || name == '*' || name == '%') { |
scheglov
2017/06/13 19:46:51
Is it unsafe to use identical() here?
Paul Berry
2017/06/13 20:06:39
Oops, I should have thought of that. identical()
|
+ collector.collectDependencies(arguments.positional[0]); |
+ } |
} |
@override |