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

Bump to the latest lsif-kotlin #371

Merged
merged 2 commits into from
Nov 22, 2021
Merged

Conversation

olafurpg
Copy link
Member

No description provided.

Some of the new signatures have "ERROR" because it's an Android library
and we don't have the Android SDK on the classpath.
// ^^^^^^^^^ reference java/util/ArrayList#`<init>`().
// ^^^^^^^^^^^^^ reference com/airbnb/epoxy/PoolReference#

@JvmOverloads
// ^^^^^^^^^^^^ reference kotlin/jvm/JvmOverloads#`<init>`().
fun getPool(
// ^^^^^^^ definition com/airbnb/epoxy/ActivityRecyclerPool#getPool().
// ^^^^^^^ definition com/airbnb/epoxy/ActivityRecyclerPool#getPool(). public final fun getPool(context: [ERROR : Context], poolFactory: () -> [ERROR : RecyclerView.RecycledViewPool]): com.airbnb.epoxy.PoolReference
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @Strum355 the Kotlin signature renderer uses "ERROR" when the code has compile errors. I'm not sure what the best behavior is, I personally prefer it like this over returning an empty string. It's easier to report a bug if the signature has "ERROR". This problem happens because the Android SDK is not on the classpath.

@olafurpg olafurpg merged commit 6ce148c into sourcegraph:main Nov 22, 2021
@olafurpg olafurpg deleted the lsif-kotlin-bump branch November 22, 2021 08:21
@olafurpg olafurpg mentioned this pull request Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant