Skip to content

Changes overlap removing unused function and its unused parameter #24202

Description

TypeScript Version: 2.9.0-dev.20180516

Search Terms:

Code

/// <reference path='fourslash.ts' />////export {};////function f(x) {}verify.codeFixAll({fixId: "unusedIdentifier_delete",fixAllDescription: "Delete all unused declarations",newFileContent: "?",});

Expected behavior:

No debug failure.

Actual behavior:

 Error: DebugFailure.False expression: ChangesoverlapVerboseDebug Information: {"pos":11,"end":27}and{"pos":22,"end":23}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions