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

issue with typelevel scala #5

Open
tscholak opened this issue Nov 8, 2016 · 4 comments
Open

issue with typelevel scala #5

tscholak opened this issue Nov 8, 2016 · 4 comments

Comments

@tscholak
Copy link

tscholak commented Nov 8, 2016

fs2-cassandra won't work in a project using the typelevel scala compiler with -Yliteral-types, e.g.

No field Symbol('keyspace_name) in record R
[error]       .partition('keyspace_name)
@pchlupacek
Copy link
Member

@tscholak Is this somehow related to http://docs.scala-lang.org/sips/pending/42.type.html? Can you please tell me which version of scalac you are using ?

@pchlupacek
Copy link
Member

as regards the type system, the whole functionality relies on shapeless. Would be also nice to check if you don't have conflict with shapeless version.

@tscholak
Copy link
Author

tscholak commented Nov 8, 2016

I was testing with shapeless 2.3.1, typelevel scalac 2.11.8, and fs2-cassandra 0.1.6.
You can easily reproduce the problem by adding
scalaOrganization := "org.typelevel" and "-Yliteral-types" to fs2-cassandra's build.sbt.

@tscholak
Copy link
Author

tscholak commented Nov 8, 2016

and yes, -Yliteral-type activates Miles' implementation of SIP-42, scala/scala#5310

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