Skip to content

Commit 76e31aa

Browse files
committed
Fix bug in avoid
1 parent dec083a commit 76e31aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ trait TypeAssigner {
9494
val refinableDecls = info.decls.filter(
9595
sym => !(sym.is(TypeParamAccessor | Private) || sym.isConstructor))
9696
val fullType = (parentType /: refinableDecls)(addRefinement)
97-
mapOver(fullType)
97+
apply(fullType)
9898
case TypeBounds(lo, hi) if variance > 0 =>
9999
apply(hi)
100100
case _ =>

0 commit comments

Comments
 (0)