Uploaded image for project: 'SonarKotlin'
  1. SonarKotlin
  2. SONARKT-183

Kotlin compiler reports variables as unused with incomplete semantics

    XMLWordPrintable

    Details

    • Type: False-Positive
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.8
    • Component/s: Rules
    • Labels:
      None

      Description

      As described in this community thread, we sometimes appear to see FPs raised by the Kotlin compiler for S1481 (unused local variable check).

        Attachments

          Activity

            People

            Assignee:
            johann.beleites Johann Beleites
            Reporter:
            johann.beleites Johann Beleites
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: