We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd5ace commit 7edf491Copy full SHA for 7edf491
compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
@@ -22,7 +22,7 @@ class ErrorMessagesTests extends ErrorMessagesTest {
22
@Test def caseClassExtendsEnum =
23
checkMessagesAfter(RefChecks.name) {
24
"""
25
- |enum Foo {}
+ |enum Foo { case A, B }
26
|case class Bar() extends Foo
27
""".stripMargin
28
}
0 commit comments