We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9efd69 commit 987e381Copy full SHA for 987e381
tests/neg/i15987.check
@@ -0,0 +1,5 @@
1
+-- Error: tests/neg/i15987.scala:26:40 ---------------------------------------------------------------------------------
2
+26 |case class Person(name: String) derives ShowWithExplicit, // error
3
+ | ^
4
+ | derived instance ShowWithExplicit[Person] failed to generate:
5
+ | method `derived` from object ShowWithExplicit takes explicit term parameters
tests/neg/i15987/DerivedIssue.scala renamed to tests/neg/i15987.scala
@@ -1,5 +1,3 @@
-import scala.language.experimental.clauseInterleaving
-
trait ShowWithExplicit[A]
object ShowWithExplicit:
tests/neg/i15987/DerivedIssue.check
0 commit comments