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

Report better error for phantom inner class references #149

Open
pwrightcertinia opened this issue Dec 1, 2022 · 0 comments
Open

Report better error for phantom inner class references #149

pwrightcertinia opened this issue Dec 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pwrightcertinia
Copy link
Contributor

Currently if you try and make use of a phantom inner class (see https://github.com/ChuckJonas/wtfapex#phantom-inner-class-type-equivalency) then you just get the standard Unknown Type error. This can be very confusing if you don't know about this issue. Ideally we would give better information based on the outer type existing.

I think this should remain an error, we don't want to support such a horrible bug, its deeply confusing when you try read the code.

@pwrightcertinia pwrightcertinia added the enhancement New feature or request label Mar 25, 2023
@pwrightcertinia pwrightcertinia transferred this issue from another repository Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant