Patterns: preserve the value of Literal

This commit is contained in:
Emery Hemingway 2023-10-26 13:12:31 +01:00
parent ac2576f005
commit 843252ad61
2 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ proc fromPreserveHook*[T, E](lit: var Literal[T]; pr: Preserve[E]): bool =
pat.fromPreserve(pr) and lit.value.fromPreserve(depattern pat)
proc toPreserveHook*[T](lit: Literal[T]; E: typedesc): Preserve[E] =
lit.grab.toPreserve(E)
lit.value.grab.toPreserve(E)
type
Path* = seq[Value]

View File

@ -1,6 +1,6 @@
# Package
version = "20231021"
version = "20231026"
author = "Emery Hemingway"
description = "Syndicated actors for conversational concurrency"
license = "Unlicense"