AA: indicate whether a value parameter is an implicit lambda parameter
^KTIJ-18800 In progress
This commit is contained in:
committed by
Ilya Kirillov
parent
a74a51b2d9
commit
889db4cc5d
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: param1
|
||||
origin: SOURCE
|
||||
@@ -17,6 +18,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: param2
|
||||
origin: SOURCE
|
||||
@@ -120,4 +122,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -22,6 +22,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
@@ -83,4 +84,4 @@ KtKotlinPropertySymbol:
|
||||
getterDeprecationStatus: null
|
||||
javaGetterName: getP
|
||||
javaSetterName: setP
|
||||
setterDeprecationStatus: null
|
||||
setterDeprecationStatus: null
|
||||
|
||||
+4
-1
@@ -20,6 +20,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: x
|
||||
origin: SOURCE
|
||||
@@ -53,6 +54,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: y
|
||||
origin: SOURCE
|
||||
@@ -67,6 +69,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: z
|
||||
origin: SOURCE
|
||||
@@ -116,4 +119,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: x
|
||||
origin: SOURCE
|
||||
@@ -17,6 +18,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: y
|
||||
origin: SOURCE
|
||||
@@ -31,6 +33,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: z
|
||||
origin: SOURCE
|
||||
@@ -226,4 +229,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
+2
-1
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
@@ -149,4 +150,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
@@ -148,4 +149,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: x
|
||||
origin: SOURCE
|
||||
@@ -37,4 +38,4 @@ KtFunctionSymbol:
|
||||
]
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
+2
-1
@@ -14,6 +14,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: x
|
||||
origin: SOURCE
|
||||
@@ -50,4 +51,4 @@ KtFunctionSymbol:
|
||||
]
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
+2
-1
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: i
|
||||
origin: SOURCE
|
||||
@@ -51,4 +52,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
+4
-1
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: a
|
||||
origin: SOURCE
|
||||
@@ -55,6 +56,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: a
|
||||
origin: SOURCE
|
||||
@@ -158,6 +160,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: lmbd
|
||||
origin: SOURCE
|
||||
@@ -192,4 +195,4 @@ KtFunctionSymbol:
|
||||
]
|
||||
visibility: Private
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -59,6 +59,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
@@ -147,4 +148,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -58,6 +58,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
@@ -145,4 +146,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
+2
-1
@@ -125,6 +125,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: arg
|
||||
origin: SOURCE
|
||||
@@ -228,4 +229,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -125,6 +125,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: arg
|
||||
origin: SOURCE
|
||||
@@ -227,4 +228,4 @@ KtNamedClassOrObjectSymbol:
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
@@ -3,6 +3,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: true
|
||||
name: a
|
||||
origin: SOURCE
|
||||
@@ -44,6 +45,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: true
|
||||
name: b
|
||||
origin: SOURCE
|
||||
@@ -85,6 +87,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: true
|
||||
name: c
|
||||
origin: SOURCE
|
||||
@@ -126,6 +129,7 @@ KtValueParameterSymbol:
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: true
|
||||
name: d
|
||||
origin: SOURCE
|
||||
@@ -160,4 +164,4 @@ KtFunctionSymbol:
|
||||
]
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
KtValueParameterSymbol:
|
||||
annotationsList: []
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: it
|
||||
origin: LIBRARY
|
||||
receiverType: null
|
||||
returnType: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// DO_NOT_CHECK_SYMBOL_RESTORE
|
||||
|
||||
inline fun <T, R> T.use(block: (T) -> R): R {
|
||||
return block(this)
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
42.use { it ->
|
||||
i<caret>t.toString()
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
it: kotlin.Int
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
KtValueParameterSymbol:
|
||||
annotationsList: []
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isVararg: false
|
||||
name: it
|
||||
origin: SOURCE
|
||||
receiverType: null
|
||||
returnType: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// DO_NOT_CHECK_SYMBOL_RESTORE
|
||||
|
||||
inline fun <T, R> T.use(block: (T) -> R): R {
|
||||
return block(this)
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
42.use { i<caret>t.toString() }
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
it: kotlin.Int
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
KtValueParameterSymbol:
|
||||
annotationsList: []
|
||||
callableIdIfNonLocal: null
|
||||
hasDefaultValue: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: true
|
||||
isVararg: false
|
||||
name: it
|
||||
origin: SOURCE_MEMBER_GENERATED
|
||||
receiverType: null
|
||||
returnType: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
Reference in New Issue
Block a user