1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 15:13:16 +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` 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)