Index: test/codegen/expect/closure.js |
diff --git a/test/codegen/expect/closure.js b/test/codegen/expect/closure.js |
index 6321d8685aa20a4c800ffeabb83ae1e904942081..f1d937d8dcfb8edd7d4f8dba1f18e979f266d620 100644 |
--- a/test/codegen/expect/closure.js |
+++ b/test/codegen/expect/closure.js |
@@ -65,7 +65,10 @@ dart_library.library('closure', null, /* Imports */[ |
* @param {?} a |
* @param {{b: (?|undefined), c: (?|undefined)}=} opts |
*/ |
- static named_params(a, {b = null, c = null} = {}) {} |
+ static named_params(a, opts) { |
+ let b = opts && 'b' in opts ? opts.b : null; |
+ let c = opts && 'c' in opts ? opts.c : null; |
+ } |
nullary_method() {} |
/** |
* @param {function(?, ?=):?number} f |