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

LtIncorrectAlias complains for no reason #227

Open
yegor256 opened this issue Jan 10, 2025 · 5 comments
Open

LtIncorrectAlias complains for no reason #227

yegor256 opened this issue Jan 10, 2025 · 5 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yegor256
Copy link
Member

This is my program:

+alias stdout org.eolang.io.stdout
+package foo

[] > main
  stdout > @
    "hi!"

LtIncorrectAlias complains as such:

Incorrect pointing alias 'stdout org.eolang.io.stdout', there is no foo/stdout org.eolang.io.stdout

It seems that LtIncorrectAlias expects aliases to be of a shorter form:

+alias stdout

This is a bug in EO: objectionary/eo#3799

@yegor256 yegor256 added bug Something isn't working help wanted Extra attention is needed labels Jan 10, 2025
@h1alexbel
Copy link
Contributor

@yegor256 I'm in

@h1alexbel
Copy link
Contributor

@yegor256 what is the file we should look for in this case? As I see we need only first part here stdout, right?

h1alexbel added a commit to h1alexbel/lints that referenced this issue Jan 13, 2025
@yegor256
Copy link
Member Author

@h1alexbel we actually need the second part, since it's the full location. Here:

+alias stdout org.eolang.io.stdout

The org.eolang.io.stdout is the location of the program.

@h1alexbel
Copy link
Contributor

@yegor256 still an issue?

@h1alexbel
Copy link
Contributor

@yegor256 looks like this issue was fixed, can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants