Skip to content

Commit 0eb74e6

Browse files
committed
Fix Term not matching Inlined trees
1 parent 9b9ca24 commit 0eb74e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/tastyreflect/ReflectionCompilerInterface.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ class ReflectionCompilerInterface(val rootContext: core.Contexts.Context) extend
273273
case _ if Unapply_TypeTest.unapply(x).isDefined => None
274274
case _: tpd.PatternTree @unchecked => None
275275
case x: tpd.SeqLiteral @unchecked => Some(x)
276+
case x: tpd.Inlined @unchecked => Some(x)
276277
case x: tpd.Tree @unchecked if x.isTerm => Some(x)
277278
case _ => None
278279
}

0 commit comments

Comments
 (0)