-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Warning for multiple equal imports with hide
combinator
#59907
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
Comments
I've decided to add exports to this request too. We should also consider when having both I'll change the request over at #59722 a bit for the |
The more I think about this warning, the more it feels like a specific case of "redundant" imports (#44569). Any takes here @srawlins since you opened that issue? Do you think this is worth a specific warning or we better do it all together? If we endup with a fix for this in either this warning or the "redundant" one, I'd say nothing would change for the user. |
Yeah I think it is a case of "redundant" imports. It's probably better to just have one warning for redundant imports. Yeah I don't think anything changes for the user. I don't think it's high enough value to have specific messaging like "the only thing hidden is the intersection of the hide lists." although that is a fairly comical situation to get into. |
I agree. But not long ago we had some problems with the "Import library" fixes to update
But yes, if not some similar case to this, I can't think of a way to get here.
Closing this in favour of that issue (#44569) then. Thanks! |
Coming from @bwilkerson's comment on #56830:
I'm opening this issue to track this warning.
Somewhat related to both #56879 and #59722.
The text was updated successfully, but these errors were encountered: