Split from https://github.com/Dart-Code/Dart-Code/issues/2745. Renaming a field to become private that is used externally produces the error: > Renamed top level variable will be invisible in ''.