Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      func doSomething(a: Int, b: Int) {     // "b" is unused
        compute(a)
      }
      

      Compliant Solution

      void doSomething(a: Int) { 
        compute(a)
      }
      

      Exceptions

      Override methods are excluded.

      override doSomething(a: Int, b: Int) {     // no issue reported on b
        compute(a)
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            elena.vilchik Elena Vilchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: