Fix pattern constructor
This commit is contained in:
parent
123fb79bbe
commit
d6e7add10a
|
@ -55,4 +55,4 @@ proc observe*(pat: Pattern): Pattern =
|
||||||
orKind: DCompoundKind.rec,
|
orKind: DCompoundKind.rec,
|
||||||
rec: DCompoundRec(
|
rec: DCompoundRec(
|
||||||
ctor: CRec(label: toSymbol("Observe", Ref), arity: 2),
|
ctor: CRec(label: toSymbol("Observe", Ref), arity: 2),
|
||||||
members: toTable {0 : pat}))
|
members: toTable {0 : pat, 1: `?_`()}))
|
||||||
|
|
Loading…
Reference in New Issue