Skip to content

Removing '@noLib' in fourslash test makes diagnostics disappear #24806

Description

TypeScript Version: master

Code

See codeFixUnusedIdentifier_deleteWrite.ts (as of #24805) and remove // @noLib: true.

Expected behavior:

Test still passes.

Actual behavior:

Test fails, because the call to program.getSemanticDiagnostics in eachDiagnostic returns nothing.

Activity

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

    InfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions