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

Unified Diff: test/codegen_expected/lib/html/indexeddb_5_test.js

Issue 2211293002: Reify type params on map literals (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove unnecessary null check Created 4 years, 4 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 | « test/codegen_expected/lib/html/indexeddb_1_test.js ('k') | test/codegen_expected/lib/html/rtc_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/lib/html/indexeddb_5_test.js
diff --git a/test/codegen_expected/lib/html/indexeddb_5_test.js b/test/codegen_expected/lib/html/indexeddb_5_test.js
index de3443ea9b7eda407bb8d8cffa04ee2d3e4723eb..c63fd490f5f2896d78802f93d7c9f203339d3fdc 100644
--- a/test/codegen_expected/lib/html/indexeddb_5_test.js
+++ b/test/codegen_expected/lib/html/indexeddb_5_test.js
@@ -46,7 +46,7 @@ dart_library.library('lib/html/indexeddb_5_test', null, /* Imports */[
src__matcher__expect.expect(names[dartx.contains](dbName), src__matcher__core_matchers.isTrue);
}, ListOfStringTodynamic())), VoidToFuture()));
}
- let value = dart.map({name_index: 'one', value: 'add_value'});
+ let value = dart.map({name_index: 'one', value: 'add_value'}, core.String, core.String);
unittest$.test('add/delete', dart.fn(() => {
let transaction = dart.dsend(db, 'transaction', storeName, 'readwrite');
let key = null;
@@ -127,9 +127,9 @@ dart_library.library('lib/html/indexeddb_5_test', null, /* Imports */[
return dart.dload(transaction, 'completed');
}, dynamicTodynamic()));
}, VoidTodynamic()));
- let deleteValue = dart.map({name_index: 'two', value: 'delete_value'});
- let updateValue = dart.map({name_index: 'three', value: 'update_value'});
- let updatedValue = dart.map({name_index: 'three', value: 'updated_value'});
+ let deleteValue = dart.map({name_index: 'two', value: 'delete_value'}, core.String, core.String);
+ let updateValue = dart.map({name_index: 'three', value: 'update_value'}, core.String, core.String);
+ let updatedValue = dart.map({name_index: 'three', value: 'updated_value'}, core.String, core.String);
unittest$.test('cursor', dart.fn(() => {
let transaction = dart.dsend(db, 'transaction', storeName, 'readwrite');
dart.dsend(dart.dsend(transaction, 'objectStore', storeName), 'add', value);
« no previous file with comments | « test/codegen_expected/lib/html/indexeddb_1_test.js ('k') | test/codegen_expected/lib/html/rtc_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698