From 020587177672c4d0bdef9308bae59ad78130641a Mon Sep 17 00:00:00 2001 From: odersky Date: Thu, 1 Aug 2024 18:15:13 +0200 Subject: [PATCH] Rename test to correct issue number --- compiler/src/dotty/tools/dotc/typer/Inferencing.scala | 2 +- tests/pos/{i21725.scala => i21275.scala} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/pos/{i21725.scala => i21275.scala} (100%) diff --git a/compiler/src/dotty/tools/dotc/typer/Inferencing.scala b/compiler/src/dotty/tools/dotc/typer/Inferencing.scala index 09284d0a2874..c41fb2e60ae5 100644 --- a/compiler/src/dotty/tools/dotc/typer/Inferencing.scala +++ b/compiler/src/dotty/tools/dotc/typer/Inferencing.scala @@ -186,7 +186,7 @@ object Inferencing { // This foils the `isExactlyNothing` test in `hasLowerBound` and // therefore makes the new type variable have a lower bound. That way, // we favor in `apply` below instantiating from below to `Nothing` instead - // of from above to `Any`. That avoids a spurious flip of the roginal `Nothing` + // of from above to `Any`. That avoids a spurious flip of the original `Nothing` // instance to `Any`. See i21275 for a test case. newTypeVar(bounds, nestingLevel = tvar.nestingLevel) else if t.symbol.is(ModuleClass) then diff --git a/tests/pos/i21725.scala b/tests/pos/i21275.scala similarity index 100% rename from tests/pos/i21725.scala rename to tests/pos/i21275.scala