You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now access(contract) and access(account) indicate that the scope is only in the current contract or current account, respectively.
This is not true. If you declare access(contract) or access(account) in an interface in one contract, and implement that interface in another contract, you can access the var/function in both contracts.
Expected Behavior
Improve the docs to better indicate the actual scope.
Steps To Reproduce
Look at the docs
Environment
- Cadence version:
- Network:
The text was updated successfully, but these errors were encountered:
Current Behavior
Right now access(contract) and access(account) indicate that the scope is only in the current contract or current account, respectively.
This is not true. If you declare access(contract) or access(account) in an interface in one contract, and implement that interface in another contract, you can access the var/function in both contracts.
Expected Behavior
Improve the docs to better indicate the actual scope.
Steps To Reproduce
Look at the docs
Environment
The text was updated successfully, but these errors were encountered: