-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Missing references in some cases #33017
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
Comments
Can you please share the screen recording and tsserverlog again. (The screen share link is not working so I cant figure out what you expect and what is happening.) |
Sorry about that @sheetalkamat. I won't delete the video this time around. 🤦♂ |
Just found another bug which might be related: #33489 |
@OliverJAsh From the log it looks like when finding references its hitting the assertion. We would need code sample to investigate so please provide small repro if you can or you can share your source code. We can get NDA for getting the repro project if you need to. Thanks. |
I would be happy to share my code, it's in a private GitHub repository. I
guess I'll need an email address from you, for me to add to it?
I tried creating a reduced test case but it was too difficult unfortunately.
…On Mon, 30 Sep 2019, 18:17 Sheetal Nandi, ***@***.***> wrote:
@OliverJAsh <https://github.com/OliverJAsh> From the log it looks like
when finding references its hitting the assertion. We would need code
sample to investigate so please provide small repro if you can or you can
share your source code. We can get NDA for getting the repro project if you
need to. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33017?email_source=notifications&email_token=AAHBACIEYJ67YPJGW6ND5ZTQMIYCDA5CNFSM4IOOFC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD76MP5Y#issuecomment-536659959>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHBACM3GF66HDG2646LQNLQMIYCDANCNFSM4IOOFC7A>
.
|
email is |
Hi @sheetalkamat, I have sent an NDA to you and @DanielRosenwasser. |
@sheetalkamat I have sent you an invite to access the repo. To test this issue, the file I used in my video is located at |
@sheetalkamat Sorry I forgot to mention, this is on the |
@OliverJAsh Thank you for providing details. I was able to repro this and will look into this soon. |
…and import type node (#34813) * Test * Handle import type node when handling the namespace import and reexport Fixes #33017 * Handle qualifier of the importTypeNode * Handle export specifier * Fix rename prefix when search for rename starts at qualifier in import type ndoe * Fix rename of qualifier with importType node when invoked without provideSuffixAndPrefix option
TypeScript Version: 3.5.2
Search Terms:
Code
We have some code that looks like this:
./main.ts
:./types/index.ts
:./types/types.ts
:When I try to find references for
Foo
, I'm getting no results. "Go to definition" does still work.However, I can only reproduce this behaviour in our large TS project. I've tried and failed to create a reduced test case. If I start removing files from our large TS project, it will eventually begin to work, suggesting there's some sort of (memory?) threshold which we could be crossing.
Here is a video recording to demonstrate this: https://www.dropbox.com/s/xw7c3lk0mxhr5vj/Screen%20Recording%202019-08-21%20at%2021.40.59.mov?dl=0
I have also attached a TS server log, which was recorded at the same time as the above video.
Any ideas what could be going on here? What's the best way for me to debug this?
tsserver.log
The text was updated successfully, but these errors were encountered: