Skip to content

Commit a46e0dc

Browse files
Update compiler/src/dotty/tools/dotc/ast/MainProxies.scala
Co-authored-by: Guillaume Martres <[email protected]>
1 parent 2e7d6af commit a46e0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/MainProxies.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ object MainProxies {
9999
*/
100100
def insertTypeSplices = new TreeMap {
101101
override def transform(tree: Tree)(using Context): Tree = tree match
102-
case tree: Ident if tree.symbol.exists => ref(tree.symbol)
102+
case tree: Ident => TypedSplice(tree)
103103
case tree => super.transform(tree)
104104
}
105105
val annots = mainFun.annotations

0 commit comments

Comments
 (0)