1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-18 19:29:56 +00:00

added support for tables/structs with prototypes in thaw

This commit is contained in:
tionis 2023-05-20 14:00:33 +02:00
parent 56d927c72d
commit 320ba80ca1

View File

@ -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)