Skip to content

Commit

Permalink
Remove tests requiring Scala 3.5. Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Sep 5, 2024
1 parent 7b237b6 commit 610988c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 63 deletions.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ object SpaceEngine {
}

extension (self: Type) private def stripUnsafeNulls()(using Context): Type =
if Nullables.unsafeNullsEnabled then self.stripNull() else self
if Nullables.unsafeNullsEnabled then self.stripNull else self

private def exhaustivityCheckable(sel: Tree)(using Context): Boolean = trace(i"exhaustivityCheckable($sel ${sel.className})") {
val seen = collection.mutable.Set.empty[Symbol]
Expand Down
13 changes: 0 additions & 13 deletions tests/warn/i20132.future-Left.scala

This file was deleted.

8 changes: 0 additions & 8 deletions tests/warn/i20132.stream-Tuple2.safeNulls.check

This file was deleted.

12 changes: 0 additions & 12 deletions tests/warn/i20132.stream-Tuple2.safeNulls.fixed.scala

This file was deleted.

11 changes: 0 additions & 11 deletions tests/warn/i20132.stream-Tuple2.safeNulls.scala

This file was deleted.

18 changes: 0 additions & 18 deletions tests/warn/i20132.stream-Tuple2.scala

This file was deleted.

0 comments on commit 610988c

Please sign in to comment.