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

Unified Diff: pkg/dev_compiler/test/codegen_expected/expect.js

Issue 2301973002: More DDC mirrors support (Closed)
Patch Set: Format fixes per comments 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
Index: pkg/dev_compiler/test/codegen_expected/expect.js
diff --git a/pkg/dev_compiler/test/codegen_expected/expect.js b/pkg/dev_compiler/test/codegen_expected/expect.js
index 42def070c5461bb23bb65fc99151a0673e3b4125..f2a8dcc75b140ac1bd0b1b30215c699b305c344b 100644
--- a/pkg/dev_compiler/test/codegen_expected/expect.js
+++ b/pkg/dev_compiler/test/codegen_expected/expect.js
@@ -4,6 +4,7 @@ define(['dart_sdk'], function(dart_sdk) {
const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx;
const expect = Object.create(null);
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.functionType(dart.void, [])))();
let dynamicAnddynamicTobool = () => (dynamicAnddynamicTobool = dart.constFn(dart.definiteFunctionType(core.bool, [dart.dynamic, dart.dynamic])))();
expect.Expect = class Expect extends core.Object {
static _truncateString(string, start, end, length) {
@@ -252,7 +253,7 @@ define(['dart_sdk'], function(dart_sdk) {
mapEquals: dart.definiteFunctionType(dart.void, [core.Map, core.Map], [core.String]),
stringEquals: dart.definiteFunctionType(dart.void, [core.String, core.String], [core.String]),
setEquals: dart.definiteFunctionType(dart.void, [core.Iterable, core.Iterable], [core.String]),
- throws: dart.definiteFunctionType(dart.void, [dart.functionType(dart.void, [])], [expect._CheckExceptionFn, core.String]),
+ throws: dart.definiteFunctionType(dart.void, [VoidTovoid()], [expect._CheckExceptionFn, core.String]),
_getMessage: dart.definiteFunctionType(core.String, [core.String]),
_fail: dart.definiteFunctionType(dart.void, [core.String])
}),
@@ -274,7 +275,8 @@ define(['dart_sdk'], function(dart_sdk) {
};
expect.ExpectException[dart.implements] = () => [core.Exception];
dart.setSignature(expect.ExpectException, {
- constructors: () => ({new: dart.definiteFunctionType(expect.ExpectException, [core.String])})
+ constructors: () => ({new: dart.definiteFunctionType(expect.ExpectException, [core.String])}),
+ fields: () => ({message: core.String})
});
expect.NoInline = class NoInline extends core.Object {
new() {
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/closure.js ('k') | pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698