cadence icon indicating copy to clipboard operation
cadence copied to clipboard

Add purity annotations to newly added functions

Open SupunS opened this issue 2 years ago • 1 comments

Issue to be solved

There are some native function types added to the master branch, after the purity annotation change was added in stable-cadence. e.g:

When the stable-cadence branch is synced/merged to master, ensure these newly added functions have the proper purity annotation.

Suggested Solution

Scan through all the newly added functions, and added annotations as required.

### Tasks
- [x] `String.join` added in #2762
- [x] `String.split` added in #2791

SupunS avatar Apr 24 '23 19:04 SupunS

Do one last pass before the 1.0 release.

j1010001 avatar Jan 05 '24 19:01 j1010001

I ran go run ./runtime/cmd/info -nested -members dump-builtin-types and go run ./runtime/cmd/info -nested -members dump-builtin-values and fixed and other then some missing view annotations for functions related to InclusiveRange I could not see any other issues.

Improved the functions related to InclusiveRange in #3426

turbolent avatar Jun 14 '24 21:06 turbolent