Skip to content

Commit

Permalink
Test publicInBinary as if on a stable release (#19840)
Browse files Browse the repository at this point in the history
Follow-up to #19811
  • Loading branch information
nicolasstucki authored Mar 4, 2024
2 parents c7a0459 + 6c9cd41 commit 4e127bd
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 4e127bd

Please sign in to comment.