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

Unified Diff: pkg/dev_compiler/test/codegen/language/map_literal5_test.dart

Issue 2354383003: Runtime fixes on DDC tests (Closed)
Patch Set: Created 4 years, 3 months 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
« no previous file with comments | « no previous file | pkg/dev_compiler/test/codegen/language/string_optimizations_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/test/codegen/language/map_literal5_test.dart
diff --git a/pkg/dev_compiler/test/codegen/language/map_literal5_test.dart b/pkg/dev_compiler/test/codegen/language/map_literal5_test.dart
index 365f2189ba11b5fedb4701612fc8fbf491a89bca..0c2fa171a1c5cd909d49ec2348afbc5562b9ff70 100644
--- a/pkg/dev_compiler/test/codegen/language/map_literal5_test.dart
+++ b/pkg/dev_compiler/test/codegen/language/map_literal5_test.dart
@@ -32,7 +32,7 @@ void test(bool b) {
}
}
-create(bool b) {
+Map create(bool b) {
return {
b: 0,
m(b): n(b),
@@ -40,5 +40,5 @@ create(bool b) {
};
}
-m(bool b) => b ? 2 : "bar";
-n(bool b) => b ? 3 : "baz";
+Object m(bool b) => b ? 2 : "bar";
+Object n(bool b) => b ? 3 : "baz";
« no previous file with comments | « no previous file | pkg/dev_compiler/test/codegen/language/string_optimizations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698