Skip to content

Commit 6ca6062

Browse files
oderskysmarter
andauthored
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
Co-Authored-By: Guillaume Martres <[email protected]>
1 parent 869ccd9 commit 6ca6062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ class Typer extends Namer
22092209
if (!tree.denot.isOverloaded &&
22102210
// for overloaded trees: resolve overloading before simplifying
22112211
!tree.isInstanceOf[Applications.IntegratedTypeArgs]
2212-
// don't interpolatie in the middle of an extension method application
2212+
// don't interpolate in the middle of an extension method application
22132213
)
22142214
if (!tree.tpe.widen.isInstanceOf[MethodOrPoly] // wait with simplifying until method is fully applied
22152215
|| tree.isDef) // ... unless tree is a definition

0 commit comments

Comments
 (0)