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-of and any-of didn't work properly #13

Closed
Graur opened this issue May 15, 2022 · 2 comments
Closed

all-of and any-of didn't work properly #13

Graur opened this issue May 15, 2022 · 2 comments
Labels
external bug subbmitted to https://github.com/cqfn/eo

Comments

@Graur
Copy link
Contributor

Graur commented May 15, 2022

When:

+package org.eolang.hamcrest
+alias org.eolang.hamcrest.assert-that
+junit

[] > all-of-numbers-test
  assert-that > @
    150.sub 50
    $.all-of
      $.equal-to 100
      $.equal-to 100
    "all of numbers conditions"

an error occuried: You can't overwrite X

associated with: objectionary/eo#623

@yegor256
Copy link
Member

@Graur I suggest you try to make your code snippet simpler, so that it's possible to reproduce it by the person who will fix the bug. Now it's not possible, since org.eolang.hamcrest is not even released. See https://www.yegor256.com/2022/03/29/bugs-occam-razor.html

@Graur
Copy link
Contributor Author

Graur commented May 16, 2022

@yegor256 Thank you for your comment! I just wanted to relate my issue to EO's issue and show that I'm very interested in solving it. Maybe I choose the wrong way to do that.

@Graur Graur added the external bug subbmitted to https://github.com/cqfn/eo label May 16, 2022
@Graur Graur changed the title An error occuried when EO app try to call a function that uses varargs as parameter all-of and any-of didn't work properly May 23, 2022
@Graur Graur closed this as completed May 23, 2022
@Graur Graur reopened this May 23, 2022
@Graur Graur closed this as completed May 25, 2022
Graur added a commit to Graur/eo-hamcrest that referenced this issue Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external bug subbmitted to https://github.com/cqfn/eo
Projects
None yet
Development

No branches or pull requests

2 participants