diff --git a/runtime/sema/type.go b/runtime/sema/type.go index 704fbb24e5..5a225443a5 100644 --- a/runtime/sema/type.go +++ b/runtime/sema/type.go @@ -2520,10 +2520,9 @@ func getArrayMembers(arrayType ArrayType) map[string]MemberResolver { ) } - return NewFunctionMember( + return NewPublicFunctionMember( memoryGauge, arrayType, - insertableEntitledAccess, identifier, ArrayToConstantSizedFunctionType(elementType), arrayTypeToConstantSizedFunctionDocString,