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
16
17
---
source: crates/nash-can/src/module.rs
description: "Code:\n\nmodule Main exposing (..)\n\nimport Foo exposing (..)\n\nimport Bar exposing (..)\n\nx = baz\n"
info: diagnostic
---
nash::names::ambiguous_var

  × Ambiguous variable `baz`.
   ╭─[src/Main.nash:7:5]
 6 │ 
 7 │ x = baz
   ·     ───
   ╰────
  help:     Bar.baz
            Foo.baz

        Use a qualified name.