Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Force us to have a list created from the tuple in destructuring

  • Loading branch information...
commit 573d733c068c87fcfcb130797e6b1869939d1cfc 1 parent cb90fcc
@olabini olabini authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/builtin/F30_enumerable.ik
View
1  src/builtin/F30_enumerable.ik
@@ -717,6 +717,7 @@ Mixins Enumerable Destructor = Origin mimic do(
)
mapValue = method(value, ms, result [],
+ value = value asTuple asList
if((ms length < value length && !(ms[-1] mimics?(Mapper Ignore))) ||
value length < ms length,
error!(Condition Error DestructuringMismatch)
Please sign in to comment.
Something went wrong with that request. Please try again.