Toshiaki Kameyama

Results 10 comments of Toshiaki Kameyama

I ran the `Redundant 'suspend' modifier` inspection on the entire intellij-community and found a warning in the android project.

It seems that this issue has been resolved by 52a8d75c2cf545bee87579a8856249fc5847921e. This PR just adds a test for the issue.

Fixed, please take another look. > 1. If the `for` loop has no braces, the loop body is lost after the conversion to `forEachIndexed`. 7d580831829c3f57d7c3b1e017cb13ec458ee0ff > 2. If the `forEachIndexed`...

I believe this case isn't false positive and should be replaced with `list?.any { it == 4 } == true`.

Created a new [PR](https://github.com/JetBrains/intellij-community/pull/2311) for [KTIJ-19679](https://youtrack.jetbrains.com/issue/KTIJ-19679).

Created a new [PR](https://github.com/JetBrains/intellij-community/pull/2317) for [KTIJ-19680](https://youtrack.jetbrains.com/issue/KTIJ-19680).