-
Notifications
You must be signed in to change notification settings - Fork 41
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
base: develop
Are you sure you want to change the base?
Conversation
kushti
commented
Nov 27, 2024
•
edited
Loading
edited
- scrypto version updated to 3.0.0 (close Uses library outside Maven central #1030 )
- Finish executeFromVar implementation #976
6.0.0 activation
…nterpreter into v6.0.0
…rpreter into v6.0.0
… deserialize test
…rpreter into i443
Finish executeFromVar implementation
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.
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 |
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.
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] ...