Skip to content

Commit

Permalink
Use v.Type instead of creating new type.
Browse files Browse the repository at this point in the history
Co-authored-by: Supun Setunga <supun.setunga@gmail.com>
  • Loading branch information
darkdrag00nv2 and SupunS authored Jul 16, 2023
1 parent d0e2019 commit 1cfdc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/interpreter/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -2893,7 +2893,7 @@ func (v *ArrayValue) Reverse(

return NewArrayValueWithIterator(
interpreter,
NewVariableSizedStaticType(interpreter, v.Type.ElementType()),
v.Type,
common.ZeroAddress,
uint64(count),
func() Value {
Expand Down

0 comments on commit 1cfdc6e

Please sign in to comment.