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

var x = 42.narrow doesn't compile in scala 2.12 #67

Open
JoeCordingley opened this issue Aug 19, 2019 · 1 comment
Open

var x = 42.narrow doesn't compile in scala 2.12 #67

JoeCordingley opened this issue Aug 19, 2019 · 1 comment

Comments

@JoeCordingley
Copy link

This line just blows up the compiler in scala 2.12.x. In https://github.com/underscoreio/shapeless-guide/blob/master/src/pages/labelled-generic/literal-types.md . Issue here: milessabin/shapeless#674 . Perhaps just a note not to try it with scala 2.12.x?

@JoeCordingley
Copy link
Author

I should also point out, it's fine with val. But that obviously ruins the point that you make afterwards about not being able to change it.

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