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

Nested path dependent types should have distinct tags #363

Open
notxcain opened this issue Jan 12, 2023 · 1 comment
Open

Nested path dependent types should have distinct tags #363

notxcain opened this issue Jan 12, 2023 · 1 comment

Comments

@notxcain
Copy link

notxcain commented Jan 12, 2023

This fails on 1.1.3

import izumi.reflect.Tag

trait Base {
  object Nested {
     trait Member
  }
}
object A extends Base
object B extends Base

assert(Tag[A.Nested.Member] != Tag[B.Nested.Member])
@neko-kai
Copy link
Member

NOTE:
Reproduces on 2.2.3 - https://scastie.scala-lang.org/RvUuntRSTUirI7fjNOMpVw
But not on Scala 3 version - https://scastie.scala-lang.org/WJWCMKtZTK6Q7iGMEOqqVg

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

2 participants