nash-can 0.14.0

Canonicalize a nash source tree, resolving symbols, re-ordering definitions, and preparing a module for type inference.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
source: crates/nash-can/src/pattern.rs
description: "( x, x )"
info: diagnostic
---
nash::names::duplicate_pattern

  × This `case` pattern has multiple `x` variables.
   ╭─[src/Main.nash:1:6]
 1 │ ( x, x )
   ·   ┬  ┬
   ·   │  ╰── and another first definition
   ·   ╰── first definition
   ╰────
  help: Rename one of the definitions.