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
EugeneFlesselle authored Jul 4, 2024
1 parent 62544e8 commit 21fc03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/core/Types.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3749,7 +3749,7 @@ object Types extends TypeUtils {
}

override protected def iso(that: Any, bs: BinderPairs) = that match
case that: OrType => tp1.equals(that.tp1, bs) && tp2.equals(that.tp2, bs)
case that: OrType => tp1.equals(that.tp1, bs) && tp2.equals(that.tp2, bs) && isSoft == that.isSoft
case _ => false
}

Expand Down

0 comments on commit 21fc03f

Please sign in to comment.