Skip to content

Commit 7efd518

Browse files
Backport "Add regression test" to LTS (#20745)
Backports #18791 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 4fc36bc + e2a2803 commit 7efd518

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/18789.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sealed trait TypeId:
2+
case class Foo() extends TypeId
3+
4+
object TypeId {}

0 commit comments

Comments
 (0)