Skip to content

No noUnusedLocals warning for recursive function in namespace #21092

Closed

Description

TypeScript Version: 2.7.0-dev.20180109

Code

namespace ts {
    function recur(): void {
        return recur();
    }
}

Expected behavior:

Error: recur unused.

Actual behavior:

No error.

Activity

  1. ghost
    self-assigned this
    on Jan 9, 2018
  2. ghost closed this as completedin #21095on Jan 9, 2018
  3. ghost added
    Fixed
    on Jan 9, 2018
  4. locked and limited conversation to collaborators on Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions