-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
isolatedDeclaration errors don't include line numbers #3913
Comments
What do you need line numbers for, Currently our errors have full error information, usually you just print out the error |
If you have a file of non-trivial size, e.g. export const a = 1;
export const b = 2;
export const c = 3;
export const d = 4;
export const e = 5;
export const f = 6;
export const g = 7;
export const h = 8;
export const i = 9;
export const j = 10;
export const k = 11;
export const l = 12;
export const m = 13;
export const n = 14;
export const o = 15;
export const p = 16;
export const q = 17;
export const r = 18;
export const s = 19;
export const t = 10*2;
export const u: unknown = 21;
export const v: unknown = 22;
export const w: unknown = 23;
export const x: unknown = 24;
export const y: unknown = 25;
export const z: unknown = 26; Then knowing that there's an error doesn't really help you identify where the error is:
|
I tested it with your code. The error looks like this.
|
Using
|
I think besides the ones I've already reported, the only potential bugs remaining are the ones I haven't been able to diagnose yet without more specific error information. Looks like it's pretty close though :) |
Changed in 150f4d9 |
Pretty self-explanatory
The text was updated successfully, but these errors were encountered: