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

Unified Diff: pkg/dev_compiler/test/browser/runtime_tests.js

Issue 3002133002: Fix DDC presubmit status. (Closed)
Patch Set: Created 3 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 | « pkg/dev_compiler/test/browser/language_tests.js ('k') | tests/lib_strong/async/catch_errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/test/browser/runtime_tests.js
diff --git a/pkg/dev_compiler/test/browser/runtime_tests.js b/pkg/dev_compiler/test/browser/runtime_tests.js
index f4670ed55299798c5c2f75313c506eca9090d26d..a4b29fec362151880d59cb4f92df2659c3709cbe 100644
--- a/pkg/dev_compiler/test/browser/runtime_tests.js
+++ b/pkg/dev_compiler/test/browser/runtime_tests.js
@@ -703,26 +703,29 @@ define(['dart_sdk'], function(dart_sdk) {
// Tear off of a method with a symbol name
let listB = new (c.ListBase$(core.int).new)();
+ // List.add is reified as taking Object
checkType(dart.bind(listB, dartx.add),
dart.fnTypeFuzzy(dart.void, [core.int]));
checkType(dart.bind(listB, dartx.add),
- dart.fnTypeFuzzy(dart.void, [core.String]), false, true);
+ dart.fnTypeFuzzy(dart.void, [core.String]), true);
+ checkType(dart.bind(listB, dartx.removeAt),
+ dart.fnTypeFuzzy(dart.void, [core.String]), false);
// Tear off of a static method
checkType(c.ListBase.listToString,
dart.fnTypeFuzzy(core.String, [core.List]));
checkType(c.ListBase.listToString,
- dart.fnTypeFuzzy(core.String, [core.String]), false, true);
+ dart.fnTypeFuzzy(core.String, [core.String]), false);
// Tear-off of extension methods on primitives
checkType(dart.bind(3.0, dartx.floor),
dart.fnTypeFuzzy(core.int, []));
checkType(dart.bind(3.0, dartx.floor),
- dart.fnTypeFuzzy(core.String, []), false, true);
+ dart.fnTypeFuzzy(core.String, []), false);
checkType(dart.bind("", dartx.endsWith),
dart.fnTypeFuzzy(core.bool, [core.String]));
checkType(dart.bind("", dartx.endsWith),
- dart.fnTypeFuzzy(core.bool, [core.int]), false, true);
+ dart.fnTypeFuzzy(core.bool, [core.int]), false);
// Tear off a mixin method
class Base {
« no previous file with comments | « pkg/dev_compiler/test/browser/language_tests.js ('k') | tests/lib_strong/async/catch_errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698