Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDoc @return tag is suggested for extension functions which return Unit #489

Closed
petertrr opened this issue Nov 3, 2020 · 0 comments · Fixed by #507
Closed

KDoc @return tag is suggested for extension functions which return Unit #489

petertrr opened this issue Nov 3, 2020 · 0 comments · Fixed by #507
Assignees
Labels
bug Something isn't working

Comments

@petertrr
Copy link
Member

petertrr commented Nov 3, 2020

Describe the bug

fun A.foo(a: Int) {
    bar()
}

Expected behavior

/**
 * @param a
 */
fun A.foo(a: Int) {
    bar()
}

Observed behavior

/**
 * @param a
 * @return
 */
fun A.foo(a: Int) {
    bar()
}

Environment information

  • diktat version: 0.1.3
@petertrr petertrr added the bug Something isn't working label Nov 3, 2020
@aktsay6 aktsay6 self-assigned this Nov 10, 2020
aktsay6 added a commit that referenced this issue Nov 10, 2020
### What's done:
  * Fixed bugs
  * Smoke test #1 reworked
aktsay6 added a commit that referenced this issue Nov 11, 2020
### What's done:
  * Fixed bugs
  * Smoke test #1 reworked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants