We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7d6af commit a46e0dcCopy full SHA for a46e0dc
compiler/src/dotty/tools/dotc/ast/MainProxies.scala
@@ -99,7 +99,7 @@ object MainProxies {
99
*/
100
def insertTypeSplices = new TreeMap {
101
override def transform(tree: Tree)(using Context): Tree = tree match
102
- case tree: Ident if tree.symbol.exists => ref(tree.symbol)
+ case tree: Ident => TypedSplice(tree)
103
case tree => super.transform(tree)
104
}
105
val annots = mainFun.annotations
0 commit comments