Index: pkg/dev_compiler/test/codegen_expected/varargs.js |
diff --git a/pkg/dev_compiler/test/codegen_expected/varargs.js b/pkg/dev_compiler/test/codegen_expected/varargs.js |
index 484bb57895a787a73aac78b2d31fa1f8c6847e72..5576e97067cd4b0fc641eb21934001f64f6f9a98 100644 |
--- a/pkg/dev_compiler/test/codegen_expected/varargs.js |
+++ b/pkg/dev_compiler/test/codegen_expected/varargs.js |
@@ -21,7 +21,11 @@ define(['dart_sdk'], function(dart_sdk) { |
new() { |
} |
}; |
- src__varargs.rest = dart.const(new src__varargs._Rest()); |
+ dart.defineLazy(src__varargs, { |
+ get rest() { |
+ return dart.const(new src__varargs._Rest()); |
+ } |
+ }); |
src__varargs.spread = function(args) { |
dart.throw(new core.StateError('The spread function cannot be called, ' + 'it should be compiled away.')); |
}; |