-
Notifications
You must be signed in to change notification settings - Fork 174
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
added (de)serializers for Kotlin unsigned number types #419
added (de)serializers for Kotlin unsigned number types #419
Conversation
…ypes_Feature. (cherry picked from commit 59ea94c)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to put this onto 2.12
return when { | ||
type.isInterface && type.rawClass == Sequence::class.java -> SequenceDeserializer | ||
type.rawClass == Regex::class.java -> RegexDeserializer | ||
type.rawClass == UByte::class.java -> UByteDeserializer | ||
type.rawClass == UShort::class.java -> UShortDeserializer | ||
type.rawClass == UInt::class.java -> UIntDeserializer | ||
type.rawClass == ULong::class.java -> ULongDeserializer | ||
else -> null | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when
is one of my favorite Kotlin features, I'm happy every time I see it.
Do I already have a valid contributor agreement? |
@efenderbosch I thought so… |
@dinomite @efenderbosch I don't think so, with a quick look I didn't see one (via relevant gmail account or cla repo). I may have assumed there was one based on two other CLAs that I received (sometimes get names mixed up in my mind, not for CLAs themselves). |
sent CLA via email |
CLA received & filed so we are good now. Thank you @efenderbosch for following up on this! |
fixes #182