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 0377e408d96e30c8c5aaf639aee530ba749a3360..959f6ef17718b12e300329d4bc1ad2b12f6f1761 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 |
@@ -423,6 +423,14 @@ class KernelMethodInvocation extends MethodInvocation |
_forEachArgument(arguments), (types) { |
arguments.types.clear(); |
arguments.types.addAll(types); |
+ }, (target) { |
+ if (!inferrer.strongMode) { |
+ // Our non-strong golden files currently don't include interface |
+ // targets, so we can't store the interface target without causing tests |
+ // to fail. TODO(paulberry): fix this. |
+ return; |
+ } |
+ interfaceTarget = target; |
}); |
} |
} |