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 9f49639 commit 330717bCopy full SHA for 330717b
tests/neg/i8894.scala
@@ -0,0 +1,13 @@
1
+trait Extractor {
2
+ inline def unapplySeq(inline tn: String): Option[Seq[String]]
3
+}
4
+
5
+transparent inline def (inline sc: StringContext).poql: Extractor = new Extractor {
6
+ inline def unapplySeq(inline tn: String): Option[Seq[String]] = ??? // error: Implementation restriction: nested inline methods are not supported
7
8
9
+object x {
10
+ "x" match {
11
+ case poql" $x" => x // error: Deferred inline method unapplySeq in trait Extractor cannot be invoked
12
+ }
13
0 commit comments