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.
publicInBinary
1 parent 2c2e8af commit 6c9cd41Copy full SHA for 6c9cd41
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