Skip to content

--pretty output is confusing #16583

@mitchellwills

Description

@mitchellwills

TypeScript Version: 2.3.4

When the compiler outputs errors it uses this format:

EXCERPT 1
   ^^   1

FILE: ERROR 1
EXCERPT 2
  ^^    2

FILE: ERROR 2

However, this is confusing since the first error is more closely associated with the second excerpt since it is separated by an empty line and a mostly blank line. I would propose changing it to:

FILE: ERROR 1
EXCERPT 1
   ^^   1

FILE: ERROR 2
EXCERPT 2
  ^^    2

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommittedThe team has roadmapped this issueFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions