You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance if you import and call a function that returns a type say Prop, but you haven't imported the Prop, you get an unknown type error:
unknown type: Bosatsu/Properties::Prop
but it should say, unimported type, since we know that type exists. We should give an error message like: you must add from Bosatsu/Properties import Prop to this file.
The text was updated successfully, but these errors were encountered:
johnynek
changed the title
using an unimproved type gives a bad error message
using an unimported type gives a bad error message
Mar 23, 2024
to say "unimported type" not "unknown". We know the type since we have the full name, but we haven't imported it fully. That is an improvement until #946 is implemented.
For instance if you import and call a function that returns a type say Prop, but you haven't imported the Prop, you get an unknown type error:
but it should say, unimported type, since we know that type exists. We should give an error message like:
you must add from Bosatsu/Properties import Prop
to this file.The text was updated successfully, but these errors were encountered: