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

method disambiguator fails to find method for type alias #3

Open
Strum355 opened this issue Aug 31, 2021 · 0 comments
Open

method disambiguator fails to find method for type alias #3

Strum355 opened this issue Aug 31, 2021 · 0 comments
Labels

Comments

@Strum355
Copy link
Member

Question in the Kotlin Slack unfortunately received no responses. We successfully extract the methods of the aliased type which look to include the method we're looking for, but indexOf returns -1. Following image shows the exception:

image

While this image shows the view in the debugger. The variables to observe are originalDesc (the "unwrapped" version of desc, the constructor), and the list of methods.
image

Commented-out test that triggers the bug: https://github.com/sourcegraph/lsif-kotlin/blob/main/semanticdb-kotlinc/src/test/kotlin/com/sourcegraph/semanticdb_kotlinc/test/SemanticdbSymbolsTest.kt#L92-L101

@Strum355 Strum355 added the bug Something isn't working label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants