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

Cannot access struct properties #1

Open
rviljoen opened this issue Apr 13, 2023 · 0 comments
Open

Cannot access struct properties #1

rviljoen opened this issue Apr 13, 2023 · 0 comments

Comments

@rviljoen
Copy link

Thanks for pulling this project together! I was able to run the tests successfully, but when I add it as a package on a new project and try to access the struct properties I get the following error (as an example):

cities is inaccessible due to 'internal' protection level

If I edit the package to make the property public, it works, e.g.:

public let cities: Cities

I'm not sure if I'm adding the package incorrectly, or if you need to update all the properties to public. Thought I'd mention it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant