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 e1a136a commit 5c06bd4Copy full SHA for 5c06bd4
tests/pos-macros/i16630.scala
@@ -0,0 +1,6 @@
1
+import scala.language.experimental.macros
2
+
3
+trait TraitWithTypeParam[A] {
4
+ protected inline def foo: Option[A] = ${ ??? }
5
+ protected def foo: Option[A] = macro ???
6
+}
0 commit comments