Skip to content

Commit ad04c1d

Browse files
authored
Merge branch 'JetBrains:master' into master
2 parents 55917a2 + d37a68d commit ad04c1d

File tree

494 files changed

+6564
-6590
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

494 files changed

+6564
-6590
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,8 @@
255255
/kotlin-js-store/ [email protected]
256256

257257
/kotlin-native/ @JetBrains/kotlin-native
258-
/kotlin-native/runtime/ [email protected] [email protected]
259258
/kotlin-native/runtime/src/main/kotlin/ @JetBrains/kotlin-native [email protected] [email protected] [email protected]
260259
/kotlin-native/runtime/test @JetBrains/kotlin-native [email protected] [email protected] [email protected]
261-
262260
/kotlin-native/licenses/ @JetBrains/kotlin-build-infrastructure
263261
/kotlin-native/klib/ @JetBrains/kotlin-common-backend
264262
/kotlin-native/tools/benchmarks @JetBrains/kotlin-native @JetBrains/kotlin-performance-qa

.idea/kotlinTestDataPluginTestDataPaths.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.space/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,8 @@
293293
/kotlin-js-store/ [email protected]
294294

295295
/kotlin-native/ "Kotlin Native"
296-
/kotlin-native/runtime/ [email protected] [email protected]
297296
/kotlin-native/runtime/src/main/kotlin/ "Kotlin Native" [email protected] [email protected] [email protected]
298297
/kotlin-native/runtime/test "Kotlin Native" [email protected] [email protected] [email protected]
299-
300298
/kotlin-native/licenses/ "Kotlin Build Infrastructure"
301299
/kotlin-native/klib/ "Kotlin Common Backend"
302300
/kotlin-native/tools/benchmarks "Kotlin Native" "Kotlin Performance QA"

analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KaFe10FunctionType.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ internal class KaFe10FunctionType(
6161
override val isReflectType: Boolean
6262
get() = withValidityAssertion { descriptor.functionTypeKind.isReflectType }
6363

64+
@Deprecated("Use `parameters.size` instead. See KT-80545", ReplaceWith("parameters.size"))
6465
override val arity: Int
6566
get() = withValidityAssertion { descriptor.arity }
6667

analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KaFirFunctionType.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ internal class KaFirFunctionType(
7373
override val isReflectType: Boolean
7474
get() = withValidityAssertion { coneType.functionTypeKind(builder.rootSession)?.isReflectType == true }
7575

76+
@Deprecated("Use `parameters.size` instead. See KT-80545", replaceWith = ReplaceWith("parameters.size"))
7677
override val arity: Int get() = withValidityAssertion { parameterTypes.size }
7778

7879
@KaExperimentalApi

analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KaType.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55

66
package org.jetbrains.kotlin.analysis.api.types
77

8-
import org.jetbrains.kotlin.analysis.api.KaExperimentalApi
9-
import org.jetbrains.kotlin.analysis.api.KaImplementationDetail
10-
import org.jetbrains.kotlin.analysis.api.KaK1Unsupported
11-
import org.jetbrains.kotlin.analysis.api.KaNonPublicApi
12-
import org.jetbrains.kotlin.analysis.api.KaSession
8+
import org.jetbrains.kotlin.analysis.api.*
139
import org.jetbrains.kotlin.analysis.api.annotations.KaAnnotated
1410
import org.jetbrains.kotlin.analysis.api.base.KaContextReceiversOwner
1511
import org.jetbrains.kotlin.analysis.api.lifetime.KaLifetimeOwner
@@ -315,6 +311,7 @@ public abstract class KaFunctionType : KaClassType(), KaContextReceiversOwner {
315311
/**
316312
* The function's arity, i.e. the number of [*parameter types*][parameterTypes].
317313
*/
314+
@Deprecated("Use `parameters.size` instead. See KT-80545", ReplaceWith("parameters.size"))
318315
public abstract val arity: Int
319316

320317
/**

analysis/analysis-api/testData/components/symbolInfoProvider/samClassBySamConstructor/samClass.dependent.fir.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ CONSTRUCTOR:
5454
returnType: KaFunctionType:
5555
abbreviation: null
5656
annotations: []
57-
arity: 1
5857
classId: kotlin/Function1
5958
contextReceivers: []
6059
hasContextReceivers: false

analysis/analysis-api/testData/components/symbolInfoProvider/samClassBySamConstructor/samClass.descriptors.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ CONSTRUCTOR:
5454
returnType: KaFunctionType:
5555
abbreviation: null
5656
annotations: []
57-
arity: 1
5857
classId: kotlin/Function1
5958
contextReceivers: []
6059
hasContextReceivers: false

analysis/analysis-api/testData/components/symbolInfoProvider/samClassBySamConstructor/samClass.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ CONSTRUCTOR:
5454
returnType: KaFunctionType:
5555
abbreviation: null
5656
annotations: []
57-
arity: 1
5857
classId: kotlin/Function1
5958
contextReceivers: []
6059
hasContextReceivers: false

analysis/analysis-api/testData/components/symbolInfoProvider/samClassBySamConstructor/samClassInScript.dependent.fir.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ CONSTRUCTOR:
5454
returnType: KaFunctionType:
5555
abbreviation: null
5656
annotations: []
57-
arity: 1
5857
classId: kotlin/Function1
5958
contextReceivers: []
6059
hasContextReceivers: false

0 commit comments

Comments
 (0)