Skip to content

Commit 6f9046c

Browse files
oderskyWojciechMazur
authored andcommitted
Rename test to correct issue number
[Cherry-picked 0205871]
1 parent 19605ee commit 6f9046c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ object Inferencing {
186186
// This foils the `isExactlyNothing` test in `hasLowerBound` and
187187
// therefore makes the new type variable have a lower bound. That way,
188188
// we favor in `apply` below instantiating from below to `Nothing` instead
189-
// of from above to `Any`. That avoids a spurious flip of the roginal `Nothing`
189+
// of from above to `Any`. That avoids a spurious flip of the original `Nothing`
190190
// instance to `Any`. See i21275 for a test case.
191191
newTypeVar(bounds, nestingLevel = tvar.nestingLevel)
192192
else if t.symbol.is(ModuleClass) then
File renamed without changes.

0 commit comments

Comments
 (0)