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, { |