Skip to content

Typescript playground shows incorrect line with error #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Zydnar opened this issue Dec 16, 2019 · 2 comments
Closed

Typescript playground shows incorrect line with error #152

Zydnar opened this issue Dec 16, 2019 · 2 comments
Labels
Playground Issues that affect the Playground

Comments

@Zydnar
Copy link

Zydnar commented Dec 16, 2019

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.

@orta
Copy link
Contributor

orta commented Dec 17, 2019

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 added the Playground Issues that affect the Playground label Dec 17, 2019
@orta
Copy link
Contributor

orta commented Mar 10, 2021

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

@orta orta closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Playground Issues that affect the Playground
Projects
None yet
Development

No branches or pull requests

2 participants