Remove unjustified assertions

This commit is contained in:
Alexey Sedunov
2013-12-23 18:08:18 +04:00
parent 6a9c535129
commit fbb03afc0f
20 changed files with 341 additions and 29 deletions
@@ -0,0 +1,12 @@
<node text="A ()" base="true">
<node text="B ()"/>
<node text="X in MyClass ()"/>
<node text="Anonymous in MyClass ()"/>
<node text="G in MyClass ()"/>
<node text="C in MyClass ()"/>
<node text="X in foo() in MyClass ()"/>
<node text="Anonymous in foo() in MyClass ()"/>
<node text="D in foo() in MyClass ()"/>
<node text="F in foo() in MyClass ()"/>
<node text="E in bar() in main.kt ()"/>
</node>
@@ -0,0 +1,26 @@
open class <caret>A
trait B: A()
class MyClass(a: A = run { trait X: A(); object: A() {} }) {
inner trait G: A() {}
{
trait C: A()
}
fun foo(a: A = run { trait X: A(); object: A() {} }) {
trait D: A()
val t = object {
inner trait F: A()
}
}
}
val bar: Int
get() {
trait E: A()
return 0
}