Index: tests/language/syncstar_less_than_test.dart |
diff --git a/tests/language/syncstar_less_than_test.dart b/tests/language/syncstar_less_than_test.dart |
index b0551a8750816f430f3ff26a963350b47f9b6b7a..db2f6f345984a9fc514d9b11a998f6501077b416 100644 |
--- a/tests/language/syncstar_less_than_test.dart |
+++ b/tests/language/syncstar_less_than_test.dart |
@@ -4,7 +4,8 @@ |
import "package:expect/expect.dart"; |
-confuse(x) => [1, 'x', true, null, x].last; |
+@NoInline() @AssumeDynamic() |
+confuse(x) => x; |
Iterable<int> foo() sync* { |
var a = confuse(1); |
@@ -15,4 +16,4 @@ Iterable<int> foo() sync* { |
main() { |
Expect.listEquals(foo().toList(), [2]); |
-} |
+} |