Skip to content

Commit 09063fd

Browse files
committed
Fix comment
1 parent e610548 commit 09063fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/TypeOps.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ trait TypeOps { this: Context => // TODO: Make standalone object.
221221
// 2.3. If exactly one of the two types is a singleton type, pick that one.
222222
// 2.4. If the widened tp2 is a supertype of tp1, pick widened tp2.
223223
// 2.5. If the widened tp1 is a supertype of tp2, pick widened tp1.
224-
// 2.6. Otherwise, pick tp1
224+
// 2.6. Otherwise, pick widened tp1
225225
//
226226
// At steps 4-6 we lose possible solutions, since we have to make an
227227
// arbitrary choice which side to widen. A better solution would look at

0 commit comments

Comments
 (0)