Remove unjustified assertions
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user