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:
Simon Ogorodnik
2019-01-31 22:04:31 +03:00
committed by Mikhail Glukhikh
parent 0e3fecf614
commit bd769f8fd7
14 changed files with 147 additions and 15 deletions
+2 -2
View File
@@ -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|()
}
}