diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-15 18:36:34 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-15 18:36:34 -0800 |
commit | 5c6840b81b7c74afd6ae65cd96ad229ddfad7503 (patch) | |
tree | b8a203a7c03fb178d4b2bb4f8fb3dceef1241f0e /032array.cc | |
parent | 1361f5ce5aa68c2243d8319abcbb1d71f4bc7e04 (diff) | |
download | mu-5c6840b81b7c74afd6ae65cd96ad229ddfad7503.tar.gz |
2450 - another pesky bug
Diffstat (limited to '032array.cc')
-rw-r--r-- | 032array.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/032array.cc b/032array.cc index 085e2b52..2bdafbbf 100644 --- a/032array.cc +++ b/032array.cc @@ -254,6 +254,18 @@ recipe main [ ] +error: main: 'index' on *8:address:array:point can't be saved in 9:number; type should be point +//: we might want to call 'index' without saving the results, say in a sandbox + +:(scenario index_without_product) +recipe main [ + 1:array:number:3 <- create-array + 2:number <- copy 14 + 3:number <- copy 15 + 4:number <- copy 16 + index 1:array:number:3, 0 +] +# just don't die + //:: To write to elements of containers, you need their address. :(scenario index_address) |