Index: test/codegen/expect/temps.js |
diff --git a/test/codegen/expect/temps.js b/test/codegen/expect/temps.js |
index bd156f8ab898e6ce7447cf0727786d3a6b1b726d..df9da7f5fe08e2bb125bff7c3e7a3f4e7a115e2e 100644 |
--- a/test/codegen/expect/temps.js |
+++ b/test/codegen/expect/temps.js |
@@ -26,7 +26,8 @@ dart_library.library('temps', null, /* Imports */[ |
this[_opt] = opt; |
this.opt = null; |
} |
- named({opt = 456} = {}) { |
+ named(opts) { |
+ let opt = opts && 'opt' in opts ? opts.opt : 456; |
this.opt = opt; |
this[_opt] = null; |
} |