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

Local imports and type aliases #1

Open
MateuszKubuszok opened this issue Aug 19, 2018 · 0 comments
Open

Local imports and type aliases #1

MateuszKubuszok opened this issue Aug 19, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@MateuszKubuszok
Copy link
Member

MateuszKubuszok commented Aug 19, 2018

Figure out if issues like:

  • type checker complains if you use type aliases from the same compilation unit
    type X = cats.Eq; val X = cats.Eq
    @Semi(X) final case class Test(a: String)
    // scala.reflect.macros.TypecheckException: not found: type X
  • same if you rename type during import
    import cats.{ Eq => X }
    @Semi(X) final case class Test(a: String)
    // scala.reflect.macros.TypecheckException: not found: type X

can be fixed.

Currently marked as known issues, but I have no idea how to approach it.

@MateuszKubuszok MateuszKubuszok added the bug Something isn't working label Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant