unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.81k stars 271 forks source link

`run` says "multiple matching refs" when there are zero #5430

Open aryairani opened 3 weeks ago

aryairani commented 3 weeks ago

What's the message you're seeing? Please paste from your terminal or paste a screenshot, e.g:

serialize-test/main> run run
Encountered exception:
multiple matching refs
CallStack (from HasCallStack):
  error, called at src/Unison/Codebase/MainTerm.hs:54:16 in unison-parser-typechecker-0.0.0-KNkVGbTXlis2lnVjsRIJUx:Unison.Codebase.MainTerm
serialize-test/main> ls

  1. lib/ (7328 terms, 182 types)

What would a better version look like?

serialize-test/main> run run

  Sorry, I don't see a definition called `run`.

serialize-test/main> ls

  1. lib/ (7328 terms, 182 types)

Environment (please complete the following information):