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

incorrectly pointing +alias doesn't lead to any errors now, which is wrong #149

Open
yegor256 opened this issue Dec 15, 2024 · 0 comments
Open
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@yegor256
Copy link
Member

Consider this file:

+alias foo
+package ttt

[] > bar
  foo > @

Here, it is expected that the ttt/foo.xmir file exists. If it doesn't, we will have a runtime error when trying to access foo. This can easily be prevented in compile time. Let's just check that all files referred by +alias metas do exist.

@yegor256 yegor256 added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant