diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 00:31:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 00:31:55 -0700 |
commit | 08f4628e8b858120fe3547d8e5431d9abfe46bf8 (patch) | |
tree | 4d9f1bc0039baefa0e84d9cb3ea6634f4337d342 /101run_sandboxed.cc | |
parent | 58a9f7c34e21541f2db90b7fb66f4e92f04780ef (diff) | |
download | mu-08f4628e8b858120fe3547d8e5431d9abfe46bf8.tar.gz |
3379
Can't use type abbreviations inside 'memory-should-contain'.
Diffstat (limited to '101run_sandboxed.cc')
-rw-r--r-- | 101run_sandboxed.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/101run_sandboxed.cc b/101run_sandboxed.cc index 3564218a..3fcad59e 100644 --- a/101run_sandboxed.cc +++ b/101run_sandboxed.cc @@ -218,7 +218,7 @@ def main [ 1:text <- new [# ab add 2, 2] 2:text <- run-sandboxed 1:text - 3:array:character <- copy *2:text + 3:array:char <- copy *2:text ] +mem: storing 52 in location 4 @@ -314,7 +314,7 @@ def main [ # try to interactively add 2 and 2 1:text <- new [add 2, 2] 2:text <- run-sandboxed 1:text - 10:array:character <- copy 2:text/lookup + 10:array:char <- copy 2:text/lookup ] # first letter in the output should be '4' in unicode +mem: storing 52 in location 11 @@ -328,7 +328,7 @@ def main [ z:text <- append x:text, y:text ] 2:text <- run-sandboxed 1:text - 10:array:character <- copy 2:text/lookup + 10:array:char <- copy 2:text/lookup ] # output contains "ab" +mem: storing 97 in location 11 @@ -340,7 +340,7 @@ def main [ 1:text <- new [x:number <- copy 34 get x:number, foo:offset] 2:text, 3:text <- run-sandboxed 1:text - 10:array:character <- copy 3:text/lookup + 10:array:char <- copy 3:text/lookup ] # error should be "unknown element foo in container number" +mem: storing 117 in location 11 |