Skip to content

Conversation

olafurpg
Copy link
Contributor

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 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
Contributor 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