Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: tests/compiler/dart2js_extra/hash_code_test.dart

Issue 1519563004: Upgrade more confuse() functions (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « tests/compiler/dart2js_extra/23828_test.dart ('k') | tests/compiler/dart2js_extra/mirrors_used_closure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698