We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
As for now, there is check for generic type if it's generic value class field, and that's working normally
nestedType.getClassifier() instanceof KTypeParameter ktp
but it fails with class cast exception when this constructor is being invoked with the KType parameter
private ValueBoxing(BoxingRules rules, KParameter parameter) { this(rules, parameter.getType(), (KClass<?>) parameter.getType().getClassifier(), parameter.isOptional()); }
Example data class :
data class Foo<T>{val bar: T? = null)
The text was updated successfully, but these errors were encountered:
Resolve generics for Kotlin Value Boxing inspection.
686868f
To introspect value boxing rules, we now resolve Kotlin type parameters. Closes #2986
2415156
That's fixed now.
Sorry, something went wrong.
mp911de
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
As for now, there is check for generic type if it's generic value class field, and that's working normally
but it fails with class cast exception when this constructor is being invoked with the KType parameter
Example data class :
The text was updated successfully, but these errors were encountered: