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.
2 parents b4d0334 + 2c76078 commit 0b4c6e7Copy full SHA for 0b4c6e7
compiler/src/dotty/tools/dotc/quoted/PickledQuotes.scala
@@ -91,11 +91,6 @@ object PickledQuotes {
91
val quotedType = typeHole(idx, reifiedArgs)
92
PickledQuotes.quotedTypeToTree(quotedType)
93
}
94
- case tree: Select =>
95
- // Retain selected members
96
- val qual = transform(tree.qualifier)
97
- qual.select(tree.symbol).withSpan(tree.span)
98
-
99
case tree =>
100
if tree.isDef then
101
tree.symbol.annotations = tree.symbol.annotations.map {
tests/pos-macros/i14180/Macro_1.scala
@@ -0,0 +1,3 @@
1
+import scala.quoted._
2
+def impl(using Quotes): Expr[Unit] =
3
+ '{ ([V] => (v: V) => println(v)).apply[Int](2) }
tests/pos-macros/i14180/Test_2.scala
@@ -0,0 +1,2 @@
+inline def foo = ${ impl }
+def example = foo
0 commit comments