diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scope.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scope.h b/src/scope.h index cd6fc15a..e4f3f76c 100644 --- a/src/scope.h +++ b/src/scope.h @@ -141,8 +141,10 @@ public: } void set_args(const value_t& _args) { - assert(_args.is_sequence()); - args = _args; + if (_args.is_sequence()) + args = _args; + else + args = _args.to_sequence(); } value_t& value() { assert(args.is_null() || args.is_sequence()); |