Skip to content

Conversation

@Godin
Copy link
Member

@Godin Godin commented Dec 12, 2024

No description provided.

@Godin Godin self-assigned this Dec 12, 2024
@Godin Godin force-pushed the kotlin_safe_call_operator_chain_filter branch from 79be266 to d919a63 Compare December 12, 2024 09:05
@Godin Godin changed the title Add filter for Kotlin safe call operator chain Add filter for Kotlin safe call operators chains Dec 12, 2024
@Godin Godin marked this pull request as ready for review December 12, 2024 11:22
@Godin Godin requested a review from leveretka December 12, 2024 11:22
@Godin Godin force-pushed the kotlin_safe_call_operator_chain_filter branch from 2ba62bd to dd93fe2 Compare December 12, 2024 12:21
@Godin Godin marked this pull request as draft December 12, 2024 12:43
@Godin Godin force-pushed the kotlin_safe_call_operator_chain_filter branch from dd93fe2 to 99018e7 Compare December 13, 2024 00:23
@Godin Godin force-pushed the kotlin_safe_call_operator_chain_filter branch from 99018e7 to 14fa357 Compare December 13, 2024 00:23
@Godin Godin marked this pull request as ready for review December 13, 2024 13:50
Copy link
Collaborator

@leveretka leveretka left a comment

Choose a reason for hiding this comment

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

LGTM!

Discussed on-site about the case where c is actually Nullable VS its "nullability" is propagated due to nullable b. These cases are indistinguishable.

Agreed that it is better to filter this out since in the described case, when nullability is propagated, it's impossible to test.

This will be a huge improvement for many Kotlin users. Thanks!

@Godin Godin enabled auto-merge (squash) December 15, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants