Skip to content

Kotlin: Add some documentation on arrays, and tweak the tests we use for them#13148

Merged
igfoo merged 2 commits intogithub:mainfrom
igfoo:igfoo/arrays
May 12, 2023
Merged

Kotlin: Add some documentation on arrays, and tweak the tests we use for them#13148
igfoo merged 2 commits intogithub:mainfrom
igfoo:igfoo/arrays

Conversation

@igfoo
Copy link
Member

@igfoo igfoo commented May 12, 2023

No description provided.

if (replacedElementType !== elementType) {
val newArg = makeTypeProjection(replacedElementType, elementTypeArg.variance)
return tCls.typeWithArguments(listOf(newArg)).codeQlWithHasQuestionMark(t.isNullableArray())
return tCls.typeWithArguments(listOf(newArg)).codeQlWithHasQuestionMark(t.isNullable())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this to match line 1598 below.

@igfoo igfoo marked this pull request as ready for review May 12, 2023 13:12
@igfoo igfoo requested a review from a team as a code owner May 12, 2023 13:12
@igfoo igfoo merged commit 202037e into github:main May 12, 2023
@igfoo igfoo deleted the igfoo/arrays branch May 12, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants