-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove pub
, priv
and pub(set)
access modifiers
#2540
Conversation
…low/cadence into sainati/remove-pub-priv
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit 115c6c4 Collapsed results for better readability
|
Codecov Report
@@ Coverage Diff @@
## feature/stable-cadence #2540 +/- ##
==========================================================
+ Coverage 78.46% 78.84% +0.38%
==========================================================
Files 326 340 +14
Lines 73424 80309 +6885
==========================================================
+ Hits 57611 63321 +5710
- Misses 13714 14689 +975
- Partials 2099 2299 +200
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job adjusting all of the code 👏
@dsainati1 Probably want to target |
Pull request was closed
Closes #2640
Implementation of onflow/flips#84
This removes support for the
pub
,priv
andpub(set)
access modifiers from the language.pub
is equivalent toaccess(all)
, which should be used insteadpriv
is equivalent toaccess(self)
which should be used insteadpub(set)
has no equivalent in Cadence. If globally accessible mutation is desirable, declare anaccess(all)
setter function for that fieldThis PR is mostly test updates; the actual parser code changes are very small.
master
branchFiles changed
in the Github PR explorer