Skip to content

Commit 24d7699

Browse files
committed
bugfix: Fix issues after backports
1 parent 98a0ccb commit 24d7699

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

presentation-compiler/test/dotty/tools/pc/tests/completion/CompletionExtensionSuite.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,6 @@ class CompletionExtensionSuite extends BaseCompletionSuite:
473473
|ensuring(cond: Boolean, msg: => Any): Bar
474474
|ensuring(cond: Bar => Boolean, msg: => Any): Bar
475475
|nn: `?1`.type
476-
|runtimeChecked: `?2`.type
477476
|formatted(fmtstr: String): String
478477
|→[B](y: B): (Bar, B)
479478
| """.stripMargin

presentation-compiler/test/dotty/tools/pc/tests/completion/CompletionSuite.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ class CompletionSuite extends BaseCompletionSuite:
126126
|ensuring(cond: Boolean, msg: => Any): List.type
127127
|ensuring(cond: List.type => Boolean, msg: => Any): List.type
128128
|nn: List.type
129-
|runtimeChecked scala.collection.immutable
130129
|formatted(fmtstr: String): String
131130
|→[B](y: B): (List.type, B)
132131
|""".stripMargin

tests/warn/i17762.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using options -Werror -Wunused:all
1+
//> using options -Xfatal-warnings -Wunused:all
22

33
class SomeType
44

@@ -17,4 +17,4 @@ object UsesCanEqual:
1717
object UsesCanEqual2:
1818
import HasCanEqual.f
1919
def testIt(st1: SomeType, st2: SomeType): Boolean =
20-
st1 != st2
20+
st1 == st2

0 commit comments

Comments
 (0)