Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Stack trace print doesn't take into account tab length #3280

@download13

Description

@download13
        var a = IP_PATTERN.match(address).slice(1).map(funtion(v) {
                                                           ^

The actual error is SyntaxError: Unexpected token {. Notice how the console expands the tab in the code to 8 characters but the function that prints the caret assumes that a character is always one space long and so is actually 7 places short of where it should be.
A small issue, but a bit of an annoyance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions