Errors indicating that a certain class isn't marked public are shown before checking for actual dependency.
It is preferred to show "A doesn't depend on B" because as a developer you'll first want to consider the dependency and only then consider if the import is public.
Errors indicating that a certain class isn't marked public are shown before checking for actual dependency.
It is preferred to show "A doesn't depend on B" because as a developer you'll first want to consider the dependency and only then consider if the import is public.