Skip to content
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

Output code snippet #2145

Closed
tinganho opened this issue Feb 26, 2015 · 1 comment
Closed

Output code snippet #2145

tinganho opened this issue Feb 26, 2015 · 1 comment
Labels
Fixed A PR has been merged for this issue Suggestion An idea for TypeScript

Comments

@tinganho
Copy link
Contributor

It would be good if tsccould output code snippet on where some error occurs:

function test() {
----------------^-- 
src/preprocessor/scanner.ts(185,1): error TS1128: Declaration or statement expected.

Just looking at the line and column is not so UX friendly.

@mhegazy mhegazy added the Suggestion An idea for TypeScript label Feb 26, 2015
@mhegazy
Copy link
Contributor

mhegazy commented Dec 9, 2015

should be fixed by #5140

@mhegazy mhegazy added this to the TypeScript 1.8 milestone Dec 9, 2015
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Dec 9, 2015
@mhegazy mhegazy closed this as completed Dec 9, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Fixed A PR has been merged for this issue Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants