Print a warning after using Foo: bar
if bar
is not public API
#52553
Labels
duplicate
Indicates similar issues or pull requests
Now that #50105 has been merged, can we print a warning after
using Foo: bar
ifbar
is not marked with eitherexport
orpublic
? Is adding a warning where there was none before considered a breaking change?Having a warning would address one of the concerns in #42080, which is that encouraging
using Foo: bar
is likely to lead to folks bringing internal names into scope.The text was updated successfully, but these errors were encountered: