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