Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Nested path dependent types should have distinct tags #363

Closed
notxcain opened this issue Jan 12, 2023 · 6 comments · Fixed by #504
Closed

Nested path dependent types should have distinct tags #363

notxcain opened this issue Jan 12, 2023 · 6 comments · Fixed by #504
Labels

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

@jdegoes
Copy link
Member

jdegoes commented Nov 8, 2024

/bounty $150

Copy link

algora-pbc bot commented Nov 8, 2024

💎 $150 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #363 with your implementation plan
  2. Submit work: Create a pull request including /claim #363 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/izumi-reflect!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @ncreep Dec 31, 2024, 1:19:19 AM #504

@pshirshov pshirshov added enhancement New feature or request good first issue Good for newcomers labels Nov 11, 2024
@ncreep
Copy link
Contributor

ncreep commented Dec 31, 2024

/attempt #363

ncreep added a commit to ncreep/izumi-reflect that referenced this issue Jan 1, 2025
Avoiding a lossy conversion from `Type` -> `Symbol` when dealing with
singleton types.

Resolves zio#363
Copy link

algora-pbc bot commented Jan 1, 2025

💡 @ncreep submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Copy link

algora-pbc bot commented Jan 1, 2025

🎉🎈 @ncreep has been awarded $150! 🎈🎊

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants