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

Candidate for 5.0.15 release #1036

Open
wants to merge 34 commits into
base: develop
Choose a base branch
from
Open

Candidate for 5.0.15 release #1036

wants to merge 34 commits into from

Conversation

kushti
Copy link
Member

@kushti kushti commented Nov 27, 2024

@kushti kushti requested a review from aslesarenko December 5, 2024 09:25
Copy link
Member

@aslesarenko aslesarenko left a comment

Choose a reason for hiding this comment

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

Looks good, except one place, see the comment.

* Def done in order to carry on DeserializeContext through stages of compilation intact
*/
case class DeserializeContextDef[V <: SType](d: DeserializeContext[V], e: Elem[V]) extends Def[V] {
override def resultType: Elem[V] = e
Copy link
Member

Choose a reason for hiding this comment

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

There is a problem with typing here. In a type like Elem[V], the V should be a type of data value (Int, Long, Boolean, Coll, GroupElement). However, the V <: SType part suggests V to be SInt, SLong, SBoolean, etc.
The compiler is not complaining likely because of .asInstanceOf[] being used.
It should be ..., e: Elem[V#WrappedType]) extends Def[V#WrappedType] ...

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.

Uses library outside Maven central
2 participants