Skip to content

Typescript playground shows incorrect line with error #152

Closed
@Zydnar

Description

@Zydnar

New lines at the end of document confuse sandbox:
obraz
Now if I delete them:
obraz
So error throws at line 2 but sandbox count new lines as part of expression.

Activity

orta

orta commented on Dec 17, 2019

@orta
Contributor

Hrm, thanks, I wonder if this would be fixed once #7 is in - doing this code sample in vscode shows it in lib.dom.ts and the playground needs to support these as separate files to show those results

Screen Shot 2019-12-17 at 12 11 01 PM

orta

orta commented on Mar 10, 2021

@orta
Contributor

The playground now shows the right files but you can't jump to them because the playground isn't multi-file aware, I think this is good enough to close

Screen Shot 2021-03-10 at 10 54 24 AM

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

    PlaygroundIssues that affect the Playground

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @orta@Zydnar

        Issue actions

          Typescript playground shows incorrect line with error · Issue #152 · microsoft/TypeScript-Website