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

Unified Diff: test/codegen/expect/constructors.js

Issue 1507343013: Run tests on Chrome stable by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.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
« no previous file with comments | « test/codegen/expect/collection/wrappers.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index b7b082f6568d88f45b8b864b4904570204e0d490..37e6ecc2f5f4ead48c6df6f087986cf59e471a7e 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -69,7 +69,8 @@ dart_library.library('constructors', null, /* Imports */[
constructors: () => ({G: [G, [], [core.String]]})
});
class H extends core.Object {
- H({p1 = null} = {}) {
+ H(opts) {
+ let p1 = opts && 'p1' in opts ? opts.p1 : null;
}
}
dart.setSignature(H, {
« no previous file with comments | « test/codegen/expect/collection/wrappers.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698