You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--Error:Id.scala:16:48-------------------------------------------------------16|valfunctor2= implicitly[tc.Functor[tc.Id]]
| ^
|no implicit argument of typetc.Functor[tc.Id] was found for parameter ev of method implicitly in objectDottyPredef||The following importmightfixtheproblem:||importtc.idFunctor|1 error found
expectation
This compiles fine on Scala 2, and we rely on that extensively in Cats. Importing tc._ or tc.idFunctor is a workaround, but not really very pleasant for our case.
If you move the definitions in the package object directly into package tc, neither val in Test compiles.
The text was updated successfully, but these errors were encountered:
minimized code
Compilation output
expectation
This compiles fine on Scala 2, and we rely on that extensively in Cats. Importing
tc._
ortc.idFunctor
is a workaround, but not really very pleasant for our case.If you move the definitions in the package object directly into
package tc
, neither val inTest
compiles.The text was updated successfully, but these errors were encountered: