Index: test/codegen/expect/constructors.js |
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js |
index 37e6ecc2f5f4ead48c6df6f087986cf59e471a7e..b7b082f6568d88f45b8b864b4904570204e0d490 100644 |
--- a/test/codegen/expect/constructors.js |
+++ b/test/codegen/expect/constructors.js |
@@ -69,8 +69,7 @@ dart_library.library('constructors', null, /* Imports */[ |
constructors: () => ({G: [G, [], [core.String]]}) |
}); |
class H extends core.Object { |
- H(opts) { |
- let p1 = opts && 'p1' in opts ? opts.p1 : null; |
+ H({p1 = null} = {}) { |
} |
} |
dart.setSignature(H, { |