Add multiplatform test with substitution, fix deep supertypes
This commit fixes ambiguity problems introduced before in MPP tests with deep supertypes #KT-29636 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0e3fecf614
commit
bd769f8fd7
+2
-2
@@ -13,8 +13,8 @@ FILE: jvm.kt
|
||||
public constructor(): super<R|B|>()
|
||||
|
||||
public final function test(): R|kotlin/Unit| {
|
||||
<Ambiguity: foo, [/A.foo, /A.foo]>#()
|
||||
<Ambiguity: bar, [/A.bar, /A.bar]>#()
|
||||
R|/A.foo|()
|
||||
R|/A.bar|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user