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

The //> using exclude directive is silently ignored when declared in any file other than project.scala #3385

Open
2 tasks
Gedochao opened this issue Dec 20, 2024 · 0 comments
Labels
--exclude Issues tied with the excluding inputs. bug Something isn't working documentation Improvements or additions to documentation

Comments

@Gedochao
Copy link
Contributor

Version(s)
1.5.4 and 4ab3227

Describe the bug
If the //> using exclude (..) directive is declared anywhere but project.scala, it gets ignored completely, with no warning.
While we do not want it declared in other files (and that is intended), we should communicate it better in our docs as well as actually warn users about it being ignored.
The current behaviour is very confusing.

To Reproduce
Try to use the //> using exclude directive in any file other than project.scala.

Expected behaviour

  • clear explanation in the docs
  • a proper warning when //> using exclude is declared wrongly
@Gedochao Gedochao added bug Something isn't working documentation Improvements or additions to documentation --exclude Issues tied with the excluding inputs. labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--exclude Issues tied with the excluding inputs. bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant