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
type error on separate compilation (pickler foiled by path dependent parent type in the presence of overloading) #7596
Comments
Imported From: https://issues.scala-lang.org/browse/SI-7596?orig=1 |
@gkossakowski said: Is there any chance to get a reproduction without external dependencies? To track down that issue we'll most likely need to minimize it further. If we get minimal reproduction there are much higher chances to fix it sooner than later. |
@gkossakowski said: My previous comment is still valid: we need a minimal test case without external dependencies. |
@cvogt said: Don't you think a fix for this should ideally go into 2.10.3 ? |
@gkossakowski said: We will be fixing only blocker bugs. We consider blockers to be regressions or serious malfunction without any feasible work-around available. We can determine whether this is blocker according to that definition once we have minimal test case which will help us to understand the problem. |
@cvogt said: |
@cvogt said (edited on Jun 19, 2013 7:43:44 PM UTC): The workaround would be forcing re-compilation of all related files. Or simply running clean before compilation after each time you modify dao.scala . In Play! (where I encountered it) this means stopping the server, running clean, restarting, recompiling everything. Not sure you can call this feasible :). Is there a better workaround? |
@retronym said (edited on Jun 19, 2013 7:50:59 PM UTC): |
@gkossakowski said: Thanks for taking time to minimize it further. This makes our job a lot easier! |
@retronym said (edited on Jun 19, 2013 8:13:07 PM UTC): https://github.com/retronym/scala/compare/ticket/7596?expand=1 Within that patch, see |
@retronym said: |
@retronym said: |
@cvogt said: |
@cvogt said: |
@adriaanm said: |
@gkossakowski said: |
@retronym said: |
@retronym said: |
scalac shows a type error when dao.scala is compiled separately from tables.scala, but not when both are compiled together. The Slick-Play sample app is affected by this.
Also see same bug at sbt issue tracker sbt/sbt#786 .
reproduce code
expected
actual
The text was updated successfully, but these errors were encountered: