mirror of
https://github.com/janet-lang/janet
synced 2024-09-28 23:10:40 +00:00
added support for tables/structs with prototypes in thaw
This commit is contained in:
parent
56d927c72d
commit
320ba80ca1
@ -2148,8 +2148,8 @@
|
|||||||
types will not be recursively thawed, but all other types will`
|
types will not be recursively thawed, but all other types will`
|
||||||
[ds]
|
[ds]
|
||||||
(case (type ds)
|
(case (type ds)
|
||||||
:table (walk-dict thaw ds)
|
:table (walk-dict thaw (table/proto-flatten ds))
|
||||||
:struct (walk-dict thaw ds)
|
:struct (walk-dict thaw (struct/proto-flatten ds))
|
||||||
:array (walk-ind thaw ds)
|
:array (walk-ind thaw ds)
|
||||||
:tuple (walk-ind thaw ds)
|
:tuple (walk-ind thaw ds)
|
||||||
:string (buffer ds)
|
:string (buffer ds)
|
||||||
|
Loading…
Reference in New Issue
Block a user