eo icon indicating copy to clipboard operation
eo copied to clipboard

Objects with the same name in the same package

Open andreoss opened this issue 2 years ago • 2 comments

duplicated-names does not check across files within a package.

# File: my-test-1.eo
# Erased during compilation`
[]` > my-test
  eq. > @
    1
    0

# File: my-test-2.eo
# Got compiled
[] > my-test
  eq. > @
    1
    1

Problem in the current code: https://github.com/cqfn/eo/blob/master/eo-runtime/src/test/eo/org/eolang/float-tests.eo#L206 https://github.com/cqfn/eo/blob/master/eo-runtime/src/test/eo/org/eolang/int-tests.eo#L203

andreoss avatar Dec 17 '21 14:12 andreoss

@andreoss definitely a bug. I think we need an additional XSL checker for this type of error.

yegor256 avatar Dec 17 '21 15:12 yegor256

@andreoss please, fix this

yegor256 avatar Dec 17 '21 15:12 yegor256

@andreoss is this fixed? see #1050

yegor256 avatar Aug 17 '22 06:08 yegor256

@yegor256 Yes, it can be closed now

andreoss avatar Sep 03 '22 01:09 andreoss