Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder verification has confusing error messages #56

Open
robotlolita opened this issue Jan 15, 2022 · 0 comments
Open

Placeholder verification has confusing error messages #56

robotlolita opened this issue Jan 15, 2022 · 0 comments
Labels
error Something is confusing, misbehaving, or harmful. s:0 minor It's annoying that this is happening, but we can live with it for now.

Comments

@robotlolita
Copy link
Contributor

During the verification phase, if there are any placeholder entities that have not been fulfilled for the package, the package loader will stop with an error. Currently the error looks something like:

Cannot open <package> because it's lacking definitions for: <entity>...

This message lacks any indication of where these entities are used, forcing users to search for them. But it also does not suggest fixes. For example, forgetting to open a package's namespace and using types from that package would result in that message, but the fix would be to open the package's namespace, not to add a new local definition. Typos, similarly, should be reported as possible typos, not as a lacking definition.

@robotlolita robotlolita added error Something is confusing, misbehaving, or harmful. s:0 minor It's annoying that this is happening, but we can live with it for now. labels Jan 15, 2022
@robotlolita robotlolita added this to the First stable release milestone Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error Something is confusing, misbehaving, or harmful. s:0 minor It's annoying that this is happening, but we can live with it for now.
Projects
None yet
Development

No branches or pull requests

1 participant