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 /056shape_shifting_recipe.cc | |
parent | 58a9f7c34e21541f2db90b7fb66f4e92f04780ef (diff) | |
download | mu-08f4628e8b858120fe3547d8e5431d9abfe46bf8.tar.gz |
3379
Can't use type abbreviations inside 'memory-should-contain'.
Diffstat (limited to '056shape_shifting_recipe.cc')
-rw-r--r-- | 056shape_shifting_recipe.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc index d251db47..1f8fc27e 100644 --- a/056shape_shifting_recipe.cc +++ b/056shape_shifting_recipe.cc @@ -721,7 +721,7 @@ def foo x:_elem -> y:_elem [ def main [ local-scope # permit literal to map to character - 1:character/raw <- foo 3 + 1:char/raw <- foo 3 ] def foo x:_elem -> y:_elem [ local-scope @@ -734,7 +734,7 @@ def foo x:_elem -> y:_elem [ def main [ local-scope # permit '0' to map to address to shape-shifting type-ingredient - 1:address:character/raw <- foo 0 + 1:address:char/raw <- foo 0 ] def foo x:address:_elem -> y:address:_elem [ local-scope @@ -946,7 +946,7 @@ def foo x:_elem -> y:number [ load-ingredients return 34 ] -def foo x:character -> y:number [ +def foo x:char -> y:number [ local-scope load-ingredients return 35 |