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 Nov 13, 2023
1 parent 18cf1b4 commit 6f1a09a
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 @@ -4921,7 +4921,6 @@ object Types {
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 6f1a09a

Please sign in to comment.