sbt-missinglink complains about shapeless in Scala 2.13
See original GitHub issueWE have a project, in which we are using several packages that depend on shapeless
, and for which we are using the version 2.13.2 of Scala. I have analysed the build with the https://github.com/scalacenter/sbt-missinglink plugin, and running the missingLinkCheck
command I got the following messages:
[info] 4 conflicts found!
[error] Category: Class being called not found
[error] In artifact: shapeless_2.13-2.3.3.jar
[error] In class: shapeless.ScalaVersionSpecifics
[error] In method: implicitNotFoundMessage(scala.reflect.macros.whitebox.Context, scala.reflect.api.Types$TypeApi):29
[error] Call to: scala.tools.nsc.typechecker.Implicits$Message.formatDefSiteMessage(scala.reflect.internal.Types$Type)
[error] Problem: Class not found: scala.tools.nsc.typechecker.Implicits$Message
[error] --------
[error] In method: implicitNotFoundMessage(scala.reflect.macros.whitebox.Context, scala.reflect.api.Types$TypeApi):28
[error] Call to: scala.tools.nsc.Global.analyzer()
[error] Problem: Class not found: scala.tools.nsc.Global
[error] --------
[error] In method: implicitNotFoundMessage(scala.reflect.macros.whitebox.Context, scala.reflect.api.Types$TypeApi):28
[error] Call to: scala.tools.nsc.typechecker.Analyzer.ImplicitNotFoundMsg()
[error] Problem: Class not found: scala.tools.nsc.typechecker.Analyzer
[error] --------
[error] In method: implicitNotFoundMessage(scala.reflect.macros.whitebox.Context, scala.reflect.api.Types$TypeApi):28
[error] Call to: scala.tools.nsc.typechecker.Implicits$ImplicitNotFoundMsg$.unapply(scala.reflect.internal.Symbols$Symbol)
[error] Problem: Class not found: scala.tools.nsc.typechecker.Implicits$ImplicitNotFoundMsg$
[error] --------
Has anyone seen a similar errors?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Does shapeless for Scala 2 has analogue for Scala 3 union ...
Scala 3 has very convenient Union types. I'm looking for something closer in shapeless for Scala 2 that would allow similar behavior.
Read more >shapeless - Scaladex
shapeless is a type class and dependent type based generic programming library for ... The main line of development for shapeless 2.3.3 is...
Read more >Generic Programming And Shapeless With Miles Sabin
When Miles Sabin applied to speak at a conference on generic programming, he bluffed a little bit. He would present on porting Simon...
Read more >Getting started with Shapeless
What's shapeless, and why should I care ? Taken from shapeless' README: Shapeless is a type class and dependent type based generic programming...
Read more >Coproducts - Shapeless - Scala Exercises
Coproducts and discriminated unions. shapeless has a Coproduct type, a generalization of Scala's Either to an arbitrary number of choices.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It has just happened to me 😞 SBT 1.4.7, Scala 2.13.4, missinglink 0.3.1, shapeless 2.3.3. Solved by excluding the Shapeless from Missinglink… 😐
Those classes are called at compile time by macros - maybe the issue is with
sbt-missinglink