JetBrains / JetBrains/inspection-plugin
"Use expression body" is reported at different locations by plugin and by IDEA
Open
bug
- Dominant language
- Kotlin
- Stars
- 254
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Based on this [submission](http://kotoed.icc.spbstu.ru:9000/submission/9796) from Kotoed.
```
/** // Plugin reports "use expression body" here
*
*
* Some comment
*/
fun maxDivisor(n: Int): Int
{
return n / minDivisor(n)
}
```
Idea:
```
/**
*
*
* Some comment
*/
fun maxDivisor(n: Int): Int
{
return n / minDivisor(n) // IDEA reports "use expression body" here
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.