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

Bad import error message confusing #7116

Open
alxmrs opened this issue Apr 22, 2021 · 0 comments
Open

Bad import error message confusing #7116

alxmrs opened this issue Apr 22, 2021 · 0 comments
Labels
bug A problem known to be a bug is slated for squashing. p3

Comments

@alxmrs
Copy link
Contributor

alxmrs commented Apr 22, 2021

I was writing a recipe and was including schemas from another file. I put the import in but forgot to include the .arcs file I was importing in the srcs of the BUILD rule.

The error message I would've hoped to get would've said something like:
Cannot find import feature_schemas.arcs, did you include it in BUILD?.

Error importing '.../impl/feature_schemas.arcs'
  import '.../impl/feature_schemas.arcs'
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not infer type of 'sessionId' field
@alxmrs alxmrs added bug A problem known to be a bug is slated for squashing. p3 labels Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem known to be a bug is slated for squashing. p3
Projects
None yet
Development

No branches or pull requests

1 participant