enso/distribution/lib/Standard
Hubert Plociniczak 0e5df935d3
Don't rename imported Main module that only imports names (#3710)
Turns that if you import a two-part import we had special code that would a) add Main submodule b) add an explicit rename.

b) is problematic because sometimes we only want to import specific names.
E.g.,
```
from Bar.Foo import Bar, Baz
```
would be translated to
```
from Bar.Foo.Main as Foo import Bar, Baz
```
and it should only be translated to
```
from Bar.Foo.Main import Bar, Baz
```

This change detects this scenario and does not add renames in that case.

Fixes [183276486](https://www.pivotaltracker.com/story/show/183276486).
2022-09-16 13:01:06 +00:00
..
Base/0.0.0-dev Don't rename imported Main module that only imports names (#3710) 2022-09-16 13:01:06 +00:00
Database/0.0.0-dev Restructure File.read into the new design (#3701) 2022-09-15 14:48:46 +00:00
Examples/0.0.0-dev Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Geo/0.0.0-dev Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Google_Api/0.0.0-dev Explicit self (#3569) 2022-07-27 17:45:36 +00:00
Image/0.0.0-dev Improved Vector/Array interop (#3667) 2022-09-13 03:07:17 +00:00
Searcher/0.0.0-dev Restructure File.read into the new design (#3701) 2022-09-15 14:48:46 +00:00
Table/0.0.0-dev Restructure File.read into the new design (#3701) 2022-09-15 14:48:46 +00:00
Test/0.0.0-dev Tidy up type signatures and error types (#3693) 2022-09-09 11:11:46 +00:00
Visualization/0.0.0-dev Don't rename imported Main module that only imports names (#3710) 2022-09-16 13:01:06 +00:00