3a237416c9
Properties aren't implemented yet FIR symbol provider functions return more specialized types now Related to KT-28918, KT-29636, KT-29218 #KT-28788 Fixed
19 lines
417 B
Plaintext
Vendored
19 lines
417 B
Plaintext
Vendored
FILE: B.kt
|
|
public final class B : R|A| {
|
|
public constructor(): super<R|A|>()
|
|
|
|
public final override function foo(): R|B| {
|
|
return@@@foo this#
|
|
}
|
|
|
|
public final function bar(): R|B| {
|
|
return@@@bar this#
|
|
}
|
|
|
|
public final function test(): R|kotlin/Unit| {
|
|
R|/B.foo|()
|
|
<Ambiguity: bar, [/B.bar, /A.bar]>#()
|
|
}
|
|
|
|
}
|