Skip to content

Commit

Permalink
reverse is pure
Browse files Browse the repository at this point in the history
  • Loading branch information
dsainati1 committed Sep 8, 2023
1 parent ac7df5d commit 1d0850e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/sema/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -2478,6 +2478,7 @@ func ArrayReverseFunctionType(arrayType ArrayType) *FunctionType {
return &FunctionType{
Parameters: []Parameter{},
ReturnTypeAnnotation: NewTypeAnnotation(arrayType),
Purity: FunctionPurityView,
}
}

Expand Down

0 comments on commit 1d0850e

Please sign in to comment.