FIR IDE: fix testdata in idea-frontend-fir
This commit is contained in:
@@ -288,7 +288,7 @@ KtFirPropertySymbol:
|
||||
modality: ABSTRACT
|
||||
name: size
|
||||
origin: LIBRARY
|
||||
receiverType: kotlin/Int
|
||||
receiverType: null
|
||||
symbolKind: MEMBER
|
||||
type: kotlin/Int
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ KtFirPropertySymbol:
|
||||
modality: ABSTRACT
|
||||
name: length
|
||||
origin: LIBRARY
|
||||
receiverType: kotlin/Int
|
||||
receiverType: null
|
||||
symbolKind: MEMBER
|
||||
type: kotlin/Int
|
||||
|
||||
@@ -836,12 +836,3 @@ KtFirFunctionSymbol:
|
||||
type: kotlin/Char
|
||||
typeParameters: []
|
||||
valueParameters: [KtFirFunctionValueParameterSymbol(index)]
|
||||
|
||||
KtFirClassOrObjectSymbol:
|
||||
classIdIfNonLocal: java/lang/String.CaseInsensitiveComparator
|
||||
classKind: CLASS
|
||||
modality: OPEN
|
||||
name: CaseInsensitiveComparator
|
||||
origin: JAVA
|
||||
symbolKind: MEMBER
|
||||
typeParameters: []
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class A {
|
||||
val x: Int = 10
|
||||
val Int.y = this
|
||||
val Int.y get() = this
|
||||
}
|
||||
|
||||
// SYMBOLS:
|
||||
@@ -11,10 +11,16 @@ KtFirPropertySymbol:
|
||||
modality: FINAL
|
||||
name: x
|
||||
origin: SOURCE
|
||||
receiverType: kotlin/Int
|
||||
receiverType: null
|
||||
symbolKind: MEMBER
|
||||
type: kotlin/Int
|
||||
|
||||
KtFirPropertyGetterSymbol:
|
||||
isDefault: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
type: kotlin/Int
|
||||
|
||||
KtFirPropertySymbol:
|
||||
callableIdIfNonLocal: A.y
|
||||
isExtension: true
|
||||
@@ -22,9 +28,9 @@ KtFirPropertySymbol:
|
||||
modality: FINAL
|
||||
name: y
|
||||
origin: SOURCE
|
||||
receiverType: A
|
||||
receiverType: kotlin/Int
|
||||
symbolKind: MEMBER
|
||||
type: A
|
||||
type: kotlin/Int
|
||||
|
||||
KtFirClassOrObjectSymbol:
|
||||
classIdIfNonLocal: A
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
val x: Int = 10
|
||||
val Int.y = this
|
||||
val Int.y get() = this
|
||||
|
||||
// SYMBOLS:
|
||||
KtFirPropertySymbol:
|
||||
@@ -9,10 +9,16 @@ KtFirPropertySymbol:
|
||||
modality: FINAL
|
||||
name: x
|
||||
origin: SOURCE
|
||||
receiverType: kotlin/Int
|
||||
receiverType: null
|
||||
symbolKind: TOP_LEVEL
|
||||
type: kotlin/Int
|
||||
|
||||
KtFirPropertyGetterSymbol:
|
||||
isDefault: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
type: kotlin/Int
|
||||
|
||||
KtFirPropertySymbol:
|
||||
callableIdIfNonLocal: y
|
||||
isExtension: true
|
||||
@@ -20,6 +26,6 @@ KtFirPropertySymbol:
|
||||
modality: FINAL
|
||||
name: y
|
||||
origin: SOURCE
|
||||
receiverType: ERROR CLASS: Unresolved this@null
|
||||
receiverType: kotlin/Int
|
||||
symbolKind: TOP_LEVEL
|
||||
type: ERROR CLASS: Unresolved this@null
|
||||
type: kotlin/Int
|
||||
|
||||
@@ -12,7 +12,7 @@ KtFirPropertySymbol:
|
||||
modality: FINAL
|
||||
name: a
|
||||
origin: SOURCE
|
||||
receiverType: kotlin/Int
|
||||
receiverType: null
|
||||
symbolKind: MEMBER
|
||||
type: kotlin/Int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user