Index: tests/compiler/dart2js_extra/hash_code_test.dart |
diff --git a/tests/compiler/dart2js_extra/hash_code_test.dart b/tests/compiler/dart2js_extra/hash_code_test.dart |
index 0c5c4b3a911a5219687bcebc13819cb38ec3077e..3329a38ab9d09c57e2fb53502adbf4d2db04a832 100644 |
--- a/tests/compiler/dart2js_extra/hash_code_test.dart |
+++ b/tests/compiler/dart2js_extra/hash_code_test.dart |
@@ -7,9 +7,11 @@ import "package:expect/expect.dart"; |
// dart2js specific test to make sure hashCode on intercepted types behaves as |
// intended. |
+@NoInline() |
+@AssumeDynamic() |
+confuse(x) => x; |
class Hasher { |
- confuse(x) => [1, 'x', true, null, x].last; |
hash(x) => confuse(x).hashCode; |
} |