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
---
source: crates/nash-can/src/module.rs
description: "Code:\n\nvalidator module Foo exposing (main)\n\nx = 1\n"
info: diagnostic
---
nash::validator::missing_main

  × This validator module requires a main value to compile into a script.
   ╭─[src/Foo.nash:1:1]
 1 │ validator module Foo exposing (main)
   · ─────────
 2 │ 
   ╰────
  help: Add a main value, or remove the validator keyword from the module header.