Skip to content

[KTIJ-38341]: Mark functional interface argument contexts as blocking - #3573

Open
Kirill Shulzhenko (kshulzh) wants to merge 1 commit into
JetBrains:masterfrom
kshulzh:KTIJ-38341
Open

[KTIJ-38341]: Mark functional interface argument contexts as blocking#3573
Kirill Shulzhenko (kshulzh) wants to merge 1 commit into
JetBrains:masterfrom
kshulzh:KTIJ-38341

Conversation

@kshulzh

Copy link
Copy Markdown
Contributor

https://youtrack.jetbrains.com/issue/KTIJ-38341/False-positive-Possibly-blocking-call-in-non-blocking-context-could-lead-to-thread-starvation
Here I added FunctionalInterface lambdas inspection support
image
I have a question about the full blocking/nonblocking inspection. It looks like inline functions are analyzed incorrectly. In the following example, the Thread.sleep call inside the inline run block is not highlighted, while the subsequent Thread.sleep call is
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Kotlin Pull requests for Kotlin IntelliJ plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants