Skip to content

BCV renders internal declarations public if their parameter types are relocated #104

@sandwwraith

Description

@sandwwraith

There's this declaration in kotlinx-metadata:
https://github.com/JetBrains/kotlin/blob/6abf14087c46e0b5c3015eec48b92162bc63c135/libraries/kotlinx-metadata/src/kotlinx/metadata/Flag.kt#L40

It has one public constructor and two internal. 0.12.0 introduces new JAR dump mode. In this mode, constructors are getting into public dump:

 	public fun <init> (Lkotlinx/metadata/internal/metadata/deserialization/Flags$BooleanFlagField;)V
	public fun <init> (Lkotlinx/metadata/internal/metadata/deserialization/Flags$FlagField;I)V

While in 0.11.0 in regular mode they weren't there

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions