Skip to content

Commit

Permalink
Make toConstantSized a public function
Browse files Browse the repository at this point in the history
Co-authored-by: Supun Setunga <[email protected]>
  • Loading branch information
darkdrag00nv2 and SupunS committed Jan 19, 2024
1 parent 3b8e20e commit a38010d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/sema/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -2520,10 +2520,9 @@ func getArrayMembers(arrayType ArrayType) map[string]MemberResolver {
)
}

return NewFunctionMember(
return NewPublicFunctionMember(
memoryGauge,
arrayType,
insertableEntitledAccess,
identifier,
ArrayToConstantSizedFunctionType(elementType),
arrayTypeToConstantSizedFunctionDocString,
Expand Down

0 comments on commit a38010d

Please sign in to comment.