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

Inconsistent type alias expansion #8

Closed
carymrobbins opened this issue Feb 27, 2018 · 1 comment
Closed

Inconsistent type alias expansion #8

carymrobbins opened this issue Feb 27, 2018 · 1 comment

Comments

@carymrobbins
Copy link
Member

It seems that encoding newtypes with a "normal" type alias means that scalac can expand it at will. We need to change the encoding from

type Type[..] = Base with Tag[..]

to

type Type[..] <: Base with Tag[..]

See scala/bug#10750

carymrobbins added a commit that referenced this issue Feb 27, 2018
scalac is deciding to expand our type alias in some cases, breaking
things like implicit resolution. See scala/bug#10750
carymrobbins added a commit that referenced this issue Feb 27, 2018
Brings together both of our changes for resolving refs #8
which also includes my introduction of cats-tests
carymrobbins added a commit that referenced this issue Feb 27, 2018
carymrobbins added a commit that referenced this issue Feb 27, 2018
Fixes solution from @joroKr21 to support Scala 2.10
@carymrobbins
Copy link
Member Author

Fixed in release 0.3.0

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

1 participant