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

All validation errors are shown in the editor, even if they come from other ALE files #159

Closed
echebbi opened this issue Jun 27, 2020 · 0 comments · Fixed by #163
Closed
Assignees

Comments

@echebbi
Copy link
Collaborator

echebbi commented Jun 27, 2020

Bug description

Since #115 we can use several .ale source files. However, when a validation error (not a parsing error) is detected in one file, it will always be shown as a marker in the ALE editor, even if the error doesn't originate from the edited file.

Expected behavior

The error marker is only added to the editor when the error actually comes from the edited file.

How to reproduce

Steps to reproduce the behavior:

  1. Create a new ALE project
  2. Add a new ALE source file (and add it to the environment)
  3. Write a semantic error (e.g. self := 12;)
  4. Open the other ALE source file

Additional context

Screenshot

Errors come from the left file and are reported on the right one as well:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant