fix bug in example/defstruct that was causing the structure name to be lost when the temporal string pool rolls back to start
FossilOrigin-Name: 470ba5902441b37d35805b9ddba45ff225288d13bbf02a811c8f9522af6a6e8c
This commit is contained in:
parent
cb3d1b4b79
commit
b63de01059
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ This can be useful, so I'm doing something similar here.
|
||||||
:make-struct (ns-) d:create , [ here swap fetch allot ] does ;
|
:make-struct (ns-) d:create , [ here swap fetch allot ] does ;
|
||||||
---reveal---
|
---reveal---
|
||||||
:defstruct (sa-)
|
:defstruct (sa-)
|
||||||
dup a:length
|
&s:keep dip dup a:length
|
||||||
[ n:dec swap
|
[ n:dec swap
|
||||||
[ 'ab 'aabab reorder
|
[ 'ab 'aabab reorder
|
||||||
'@ s:append [ fetch + fetch ] make-helper
|
'@ s:append [ fetch + fetch ] make-helper
|
||||||
|
|
Loading…
Reference in a new issue