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
@@ -1,3 +1,10 @@
<node text="A ()" base="true">
<node text="O ()"/>
</node>
<node text="B ()"/>
<node text="Anonymous in MyClass ()"/>
<node text="C in MyClass ()"/>
<node text="Anonymous in foo() in MyClass ()"/>
<node text="D in foo() in MyClass ()"/>
<node text="F in t() in MyClass ()"/>
<node text="E in bar() in main.kt ()"/>
<node text="Anonymous in x() in main.kt ()"/>
</node>
@@ -1,3 +1,28 @@
object O: A()
open class <caret>A
open class <caret>A
object B: A()
class MyClass(a: A = run { object: A() {} }) {
{
object C: A()
}
fun foo(a: A = run { object: A() {} }) {
object D: A()
}
val t = object {
object F: A()
}
}
val bar: Int
get() {
object E: A()
return 0
}
val x = object: A() {
}