Skip to content

Commit

Permalink
Test publicInBinary as if on a stable release
Browse files Browse the repository at this point in the history
Follow-up to #19811
  • Loading branch information
nicolasstucki committed Mar 1, 2024
1 parent 2c2e8af commit 6c9cd41
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class PublicInBinaryTests extends DottyBytecodeTest {
private def checkPublicClass(classNode: ClassNode): Unit =
assert((classNode.access & privateOrProtectedOpcode) == 0)

override def initCtx =
val ctx0 = super.initCtx
ctx0.setSetting(ctx0.settings.experimental, true)
ctx0.setSetting(ctx0.settings.YnoExperimental, true)

@Test
def publicInBinaryDef(): Unit = {
val code =
Expand Down

0 comments on commit 6c9cd41

Please sign in to comment.