Fix pattern constructor

This commit is contained in:
Emery Hemingway 2021-11-03 19:22:33 +01:00
parent 123fb79bbe
commit d6e7add10a
1 changed files with 1 additions and 1 deletions

View File

@ -55,4 +55,4 @@ proc observe*(pat: Pattern): Pattern =
orKind: DCompoundKind.rec,
rec: DCompoundRec(
ctor: CRec(label: toSymbol("Observe", Ref), arity: 2),
members: toTable {0 : pat}))
members: toTable {0 : pat, 1: `?_`()}))