![]() ## Before ``` × Checking ╰─▶ Unexpected labeled argument t ╭─[/Users/mati/Devel/OpenSource/time_lock_aiken/validators/time_lock.ak:13:1] 13 │ let now = when context.transaction.validity_range.lower_bound.bound_type is { 14 │ Finite { t } -> t · ─ 15 │ NegativeInfinity -> 0 ╰──── ``` ## After ``` × Type-checking ╰─▶ Unexpected labeled argument 't' ╭─[../stdlib/validators/tmp.ak:10:1] 10 │ let now = when context.transaction.validity_range.lower_bound.bound_type is { 11 │ interval.Finite { t } -> t · ─ 12 │ interval.NegativeInfinity -> 0 ╰──── help: The constructor 'Finite' does not have any labeled field. Its fields must therefore be matched only by position. Perhaps, try the following: ╰─▶ interval.Finite(t) ``` |
||
---|---|---|
.. | ||
aiken | ||
aiken-lang | ||
aiken-lsp | ||
aiken-project | ||
flat-rs | ||
uplc |