Skip to content

Commit 79fc414

Browse files
Merge pull request #6990 from dotty-staging/fix-#6986
Fix #6986: Add regression test
2 parents 073c7aa + f5adcc9 commit 79fc414

File tree

1 file changed

+4
-0
lines changed
  • compiler/test-resources/repl

1 file changed

+4
-0
lines changed

compiler/test-resources/repl/i6986

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
scala> enum SingleCase { case TheCase }
2+
// defined class SingleCase
3+
scala> SingleCase.TheCase
4+
val res0: SingleCase = TheCase

0 commit comments

Comments
 (0)