Created
September 11, 2012 16:47
-
-
Save runarorama/3699765 to your computer and use it in GitHub Desktop.
Extremely helpful error message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] /Users/runar/work/Reporting/src/main/scala/com/clarifi/reporting/relational/Rel.scala:191: ambiguous implicit values: | |
[error] both object TableNameOrder in package reporting of type object com.clarifi.reporting.package.TableNameOrder | |
[error] and object TableNameOrder in package reporting of type object com.clarifi.reporting.package.TableNameOrder |
The instance was declared in a package object. Moving it out of that object solved the problem.
Was it reproducible enough to extract a bug report? Because that's supposed to work.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try with -Yinfer-debug to help understand what's going on in the confused compiler, and hopefully to isolate a bug report.