We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
publicInBinary
2 parents c7a0459 + 6c9cd41 commit 4e127bdCopy full SHA for 4e127bd
compiler/test/dotty/tools/backend/jvm/PublicInBinaryTests.scala
@@ -39,6 +39,11 @@ class PublicInBinaryTests extends DottyBytecodeTest {
39
private def checkPublicClass(classNode: ClassNode): Unit =
40
assert((classNode.access & privateOrProtectedOpcode) == 0)
41
42
+ override def initCtx =
43
+ val ctx0 = super.initCtx
44
+ ctx0.setSetting(ctx0.settings.experimental, true)
45
+ ctx0.setSetting(ctx0.settings.YnoExperimental, true)
46
+
47
@Test
48
def publicInBinaryDef(): Unit = {
49
val code =
0 commit comments