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

Problem with binding #304

Closed
someilay opened this issue Jun 25, 2021 · 5 comments
Closed

Problem with binding #304

someilay opened this issue Jun 25, 2021 · 5 comments

Comments

@someilay
Copy link
Contributor

someilay commented Jun 25, 2021

Code 1:

+package sandbox
+alias stdout org.eolang.io.stdout
+alias sprintf org.eolang.txt.sprintf

[] > animal
  stdout > say
    "Animal's sound!\n"

animal > lion

[args...] > app
  lion.say > @

Code 2:

+package sandbox
+alias stdout org.eolang.io.stdout
+alias sprintf org.eolang.txt.sprintf

[] > animal
  stdout > say
    "Animal's sound!\n"

[args...] > app
  animal > lion
  lion.say > @

Code 1 causes runtime error:

Caused by: org.eolang.phi.Attr$Exception: Can't get(), attribute "say" is absent
        at org.eolang.phi.AtAbsent.get(AtAbsent.java:58)
        at org.eolang.phi.AtNamed.get(AtNamed.java:63)
        ... 8 more

Code 2 works as expected.
Why is it so?

yegor256 added a commit that referenced this issue Jul 14, 2021
yegor256 added a commit that referenced this issue Jul 14, 2021
@yegor256
Copy link
Member

@rultor release, tag is 0.1.31

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.1.31

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.1.31

@yegor256 Done! FYI, the full log is here (took me 9min)

@yegor256
Copy link
Member

@someilay it was a bug, I fixed it. Please check.

@yegor256
Copy link
Member

yegor256 commented Aug 6, 2021

@someilay I'm closing. If you think the bug is still there, please open a new issue.

@yegor256 yegor256 closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants