mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 15:30:27 +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`
|
||||
[ds]
|
||||
(case (type ds)
|
||||
:table (walk-dict thaw ds)
|
||||
:struct (walk-dict thaw ds)
|
||||
:table (walk-dict thaw (table/proto-flatten ds))
|
||||
:struct (walk-dict thaw (struct/proto-flatten ds))
|
||||
:array (walk-ind thaw ds)
|
||||
:tuple (walk-ind thaw ds)
|
||||
:string (buffer ds)
|
||||
|
Loading…
Reference in New Issue
Block a user