-
Notifications
You must be signed in to change notification settings - Fork 330
Check private
access at resolution, not an invocation
#13392
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
Merged
Akirathan
merged 35 commits into
develop
from
wip/akirathan/13078-private-generated-getters
Jul 21, 2025
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1a8f5bc
Revert 08b04dd2300c3d3b2a8fc49d16742c7c85d6f7ee
Akirathan 142fecf
Revert d9cc084c2348e28856d748d15f0bef94c146dc39
Akirathan e721cf5
Add minimal reproducer
Akirathan 9dc390b
test calling private method directly or via lambda
Akirathan 78f2b81
Copy projectPrivate property from FunctionSchema when mapping call ar…
Akirathan 6c66ef3
Revert "Revert d9cc084c2348e28856d748d15f0bef94c146dc39"
Akirathan d23375b
Revert "Revert 08b04dd2300c3d3b2a8fc49d16742c7c85d6f7ee"
Akirathan f28e368
Private constructor cannot be called via callback.
Akirathan 8782c0b
fmt
Akirathan 3786693
Fix the expected evaluation semantics in tests.
Akirathan b72747b
Update private methods semantics in tests
Akirathan c808400
Shouldn't be possible to access private field
Akirathan daa591b
Remove leftover comment
Akirathan 2098788
Fix encapsulation.md docs
Akirathan 289684f
Revert "Copy projectPrivate property from FunctionSchema when mapping…
Akirathan 3685ee6
Better test name
Akirathan 8f1f229
Better test name
Akirathan ebdb0fd
Update docs
Akirathan 3e67857
Add test for calling private static method that was directly imported
Akirathan d1d4975
No private checking in InvokeFunctionNode
Akirathan b636594
Update tests: Private field cannot be accessed
Akirathan 1e884d2
Private check is inside UnresolvedSymbol
Akirathan 961a412
fmt
Akirathan 4f58cbc
Fix expected cons name in test
Akirathan 2acd478
Update tests: Private field cannot be accessed
Akirathan e84da7c
Revert 08b04dd2300c3d3b2a8fc49d16742c7c85d6f7ee
Akirathan ed3b014
Revert d9cc084c2348e28856d748d15f0bef94c146dc39
Akirathan a20a46c
Merge branch 'develop' into wip/akirathan/13078-private-generated-get…
Akirathan ce79c7f
Add CHANGELOG entry
Akirathan 3c98205
Do not check private access if private check is disabled
Akirathan 72ccc50
Private check in UnresolvedSymbol compares project from correct modul…
Akirathan 20cdc32
Add test for private check of UnresolvedSymbol
Akirathan 286bfec
Merge branch 'develop' into wip/akirathan/13078-private-generated-get…
Akirathan e407dba
Fix tests in Meta_Spec.
Akirathan 89a722e
Fix test in Private_Spec - it is possible to call private constructor…
Akirathan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.