Skip to content

Commit 24da2fd

Browse files
Update compiler/src/dotty/tools/dotc/quoted/reflect/ReflectionCompilerInterface.scala
Co-authored-by: Guillaume Martres <[email protected]>
1 parent e0fcb25 commit 24da2fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/src/dotty/tools/dotc/quoted/reflect/ReflectionCompilerInterface.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,9 +1225,7 @@ class ReflectionCompilerInterface(val rootContext: Context) extends CompilerInte
12251225
self.select(sym)
12261226

12271227
def Type_appliedTo(self: Type)(targs: List[Type]): Type =
1228-
self match
1229-
case self: Types.HKTypeLambda => self.instantiate(targs)
1230-
case _ => Types.AppliedType(self, targs)
1228+
self.appliedTo(targs)
12311229

12321230
type ConstantType = Types.ConstantType
12331231

0 commit comments

Comments
 (0)