Push Down: Conflict analysis

This commit is contained in:
Alexey Sedunov
2015-08-11 14:05:27 +03:00
parent a66ef47887
commit 96f255225b
22 changed files with 502 additions and 34 deletions
@@ -0,0 +1,37 @@
open class <caret>A {
fun foo() {
}
// INFO: {"checked": "true"}
fun foo(n: Int) {
}
fun test() {
foo()
foo(1)
}
}
open class B : A() {
}
class C : B() {
}
fun A.test() {
foo()
foo(2)
}
fun test() {
A().foo()
A().foo(3)
B().foo()
B().foo(4)
C().foo()
C().foo(5)
}