bosatsu icon indicating copy to clipboard operation
bosatsu copied to clipboard

Improve duplicate imports

Open johnynek opened this issue 10 months ago • 0 comments

I noticed if I made a duplicate import that does not exist to a name that collides with a predef name, the error message is bad.

I should add a test exercising this error message to be sure. There were two things:

  1. we didn't see both imports, just one.
  2. the predef import said "unknown source" which means that we need to handle predef separately in error messages.

johnynek avatar Apr 11 '24 02:04 johnynek