Skip to content

[Klib] Use DuplicatedUniqueNameStrategy.ALLOW_ALL in metadata compilation#6511

Open
Wojciech Litewka (mcpiroman) wants to merge 3 commits into
masterfrom
wlitewka/fix-unique-name-warn-for-metadata-klib
Open

[Klib] Use DuplicatedUniqueNameStrategy.ALLOW_ALL in metadata compilation#6511
Wojciech Litewka (mcpiroman) wants to merge 3 commits into
masterfrom
wlitewka/fix-unique-name-warn-for-metadata-klib

Conversation

@mcpiroman

Copy link
Copy Markdown
Contributor

No description provided.

…amesTest

The test used to verify warning and error messages in case the
compilation failed, but it should also check whether the compilation
was supposed to fail at all.

KT-77818
Unlike other available modes, it does not result in any error or warning.

KT-77818
@kotlin-safemerge

kotlin-safemerge Bot commented Jul 2, 2026

Copy link
Copy Markdown

Code Owners

RuleOwnersApproval
/​compiler/​arguments/​resources/​kotlin-​compiler-​arguments.​json
build-tools-api
kotlin-build-tools
kotlin-frontend
kotlin-wasm

demiurg906 🔒
/​compiler/​arguments/​
build-tools-api
kotlin-build-tools
kotlin-frontend

demiurg906 🔒
/​compiler/​build-​tools/​kotlin-​build-​tools-​api/​api/​kotlin-​build-​tools-​api.​api, /​compiler/​build-​tools/​kotlin-​build-​tools-​api/​gen/​
kotlin
🔴
ddolovov
/​compiler/​cli/​, /​compiler/​config/​
kotlin-frontend

demiurg906 🔒
/​compiler/​ir/​serialization.​common/​, /​compiler/​util-​klib-​metadata/​, /​native/​native.​tests/​klib-​ir-​inliner/​
kotlin-common-backend
🔴
ddolovov

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/final


@Test
fun `Regular compilation - ALLOW_ALL strategy`() = runTest(
strategy = DuplicatedUniqueNameStrategy.ALLOW_ALL_WITH_WARNING,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be ALLOW_ALL, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants