-
Notifications
You must be signed in to change notification settings - Fork 360
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
Fix CLI analysis reporting wrong file names #146
Conversation
I believe Frontend propagates errors for dependent modules for type checking, so |
If that's correct then that just leaves whether |
Not sure what you mean - In general this silent error propagation business is pretty weird and it would probably be better to refactor the Frontend to not do that, and instead to expose dependent modules to the caller so that the caller can aggregate errors if need be. However, this would change the Frontend interface and we have internal tools that rely on the specific behavior, so we'd need to do that internally separately. |
My bad on that, I was looking at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fix #144
Regarding (#144 (comment)):
At about which point should this check happen? From my understanding
frontend.check(name)
does type checking, so should the function just exit early reporting no errors?Additionally,
reportWarning
at a glance has the same undesirable behavior thatreportError
did, but I opted to wait and ask if this is intentional before changing it also.