-
Notifications
You must be signed in to change notification settings - Fork 753
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
[Bug]: Getting non-accessible symbol error for error intersections with details #42806
Comments
We are not getting the error in the 2nd run of |
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now. |
Description
I am getting the following error when I try to use error types from a external ballerina package. The error types are intersections with detail records:
Please note that this compiler errors are only shown at the very first build, after that the compilation is successful.
Steps to Reproduce
$ bal new -t lib status-code-errors
errors.bal
file to the package:$ bal pack; bal push --repository=local
$ bal new sample
Ballerina.toml
:main.bal
file content with the following:Affected Version(s)
Ballerina SwanLake Update 9(2201.9.0)
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: