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