Skip to content
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

The private constructor does not respect the --disable-private-check option #9882

Closed
radeusgd opened this issue May 7, 2024 · 0 comments · Fixed by #10034
Closed

The private constructor does not respect the --disable-private-check option #9882

radeusgd opened this issue May 7, 2024 · 0 comments · Fixed by #10034
Assignees
Labels

Comments

@radeusgd
Copy link
Member

radeusgd commented May 7, 2024

Actual behaviour

Try accessing a private field or constructor from another project. Regardless if the --disable-private-check flag is passed, it always fails with:

e.g.

Execution finished with an error: Private access error: The project-private method 'Postgres_Connection.connection' in project 'Standard.Database' cannot be accessed from unknown project.

Expected behaviour

According to @Akirathan, if --disable-private-check is set, the check should be suppressed and private access should be allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🟢 Accepted
Development

Successfully merging a pull request may close this issue.

2 participants