question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Incorrect line number on "export * from ..."

See original GitHub issue

Describe the bug An incorrect line number is reported by ts-prune when an export is using export * from ...:

image

To Reproduce

Expected behavior Line 27 is reported (The export * from "./useConfig"; line)

Actual: Line 19 is reported (the line of the original export definition in a different file)

Optional: reference to the test project https://github.com/nadeesha/ts-prune/compare/master...jtbandes:export-from

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
jtbandescommented, Oct 29, 2021

I think this issue is still valid

0reactions
github-actions[bot]commented, Jul 11, 2022

Stale issue message

Read more comments on GitHub >

github_iconTop Results From Across the Web

Line numbers are shown incorrectly when importing library ...
Line numbers are shown incorrectly when importing library that has default export #436.
Read more >
Fix text-formatted numbers by applying a number format
Technique 1: Convert text-formatted numbers by using Error Checking. If you import data into Excel from another source, or if you type numbers...
Read more >
[JDK-7024096] Stack trace has invalid line numbers
A DESCRIPTION OF THE PROBLEM : linenumbertable in compiled code only has line numbers for starts of statements. When a statement is using...
Read more >
Exporting 2 address lines - eliminating line feed error [closed]
When this data is exported as a single address line - it throws an extra/bad line feed into the data that FUBARS everything...
Read more >
Wrong line numbers in stack trace (release)
Using line numbers of the stacktrace, you'll find exactly what lines of codes are called when the app crashes. Share. Share a link...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found