Skip to content

Commit d10a7b1

Browse files
smarterodersky
andauthored
Update compiler/src/dotty/tools/dotc/typer/Applications.scala
Co-Authored-By: odersky <[email protected]>
1 parent 3299f3b commit d10a7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
881881
typedExpr(tree.fun, PolyProto(typedArgs, pt)) match {
882882
case ExtMethodApply(app) =>
883883
app
884-
case typedFn: TypeApply =>
884+
case _: TypeApply =>
885885
errorTree(tree, "illegal repeated type application")
886886
case typedFn =>
887887
typedFn.tpe.widen match {

0 commit comments

Comments
 (0)