[tests] Klib based signature clash improve coverage for KT-63670

This commit is contained in:
Andrei Tyrin
2024-02-14 14:08:58 +01:00
committed by Space Team
parent fff5a412ec
commit 4e10dcd808
7 changed files with 263 additions and 61 deletions
@@ -0,0 +1,7 @@
/main.kt:27:5: error: Platform declaration clash: The following declarations have the same IR signature (com.example.klib.serialization.diagnostics/ConstructorsClash.<init>|<init>(kotlin.Int){}[0]):
constructor ConstructorsClash(s: kotlin.Int) defined in com.example.klib.serialization.diagnostics.ConstructorsClash
constructor ConstructorsClash(s: kotlin.Int) defined in com.example.klib.serialization.diagnostics.ConstructorsClash
/main.kt:29:5: error: Platform declaration clash: The following declarations have the same IR signature (com.example.klib.serialization.diagnostics/ConstructorsClash.<init>|<init>(kotlin.Int){}[0]):
constructor ConstructorsClash(s: kotlin.Int) defined in com.example.klib.serialization.diagnostics.ConstructorsClash
constructor ConstructorsClash(s: kotlin.Int) defined in com.example.klib.serialization.diagnostics.ConstructorsClash