Index: tests/compiler/dart2js_extra/consistent_null_add_error_test.dart |
diff --git a/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart b/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart |
index 2c47018903f061c7d85f13b38c65e374a80a50a1..5417ee0e50804108d5a57d266123c39cd3113a0a 100644 |
--- a/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart |
+++ b/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart |
@@ -8,7 +8,6 @@ import "package:expect/expect.dart"; |
// |
// They don't, sometimes we generate null.$add, sometimes JSNull_methods.$add. |
- |
@NoInline() |
@AssumeDynamic() |
confuse(x) => x; |
@@ -22,6 +21,7 @@ void check2(String name, name1, f1, name2, f2) { |
} |
Expect.fail('should throw: $name.$part'); |
} |
+ |
var e1 = trap(name1, f1); |
var e2 = trap(name2, f2); |
var s1 = '$e1'; |
@@ -37,7 +37,6 @@ void check(String name, f1, f2, [f3, f4, f5, f6]) { |
if (f6 != null) check2(name, 'f1', f1, 'f6', f6); |
} |
- |
class NullPlusInt { |
static f1() { |
return confuse(null) + confuse(1); |