[FE] Fix source element duplication in object literal expressions
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtObjectDeclaration
|
||||
|
||||
fun test() {
|
||||
<expr>object {}</expr>
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
KT element: KtObjectDeclaration
|
||||
FIR element: FirAnonymousObjectImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
object : R|kotlin/Any| {
|
||||
private constructor(): R|<anonymous>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtObjectLiteralExpression
|
||||
|
||||
fun test() {
|
||||
<expr>object {}</expr>
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
KT element: KtObjectLiteralExpression
|
||||
FIR element: FirAnonymousObjectExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
object : R|kotlin/Any| {
|
||||
private constructor(): R|<anonymous>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user