Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/core/Types.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky authored and WojciechMazur committed Jun 26, 2024
1 parent d0f995b commit 80e6aec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/src/dotty/tools/dotc/core/Types.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4853,7 +4853,6 @@ object Types extends TypeUtils {
def instantiate(fromBelow: Boolean)(using Context): Type =
val tp = typeToInstantiateWith(fromBelow)
if myInst.exists then // The line above might have triggered instantiation of the current type variable
Member
myInst
else
instantiateWith(tp)
Expand Down

0 comments on commit 80e6aec

Please sign in to comment.