enso/test
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
..
Benchmarks Tidy up type signatures and error types (#3693) 2022-09-09 11:11:46 +00:00
Examples_Tests Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Geo_Tests Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Google_Api_Test Tidying up what is in Standard.Base (#3603) 2022-07-27 13:28:00 +00:00
Image_Tests Tidy up the default imports for Standard.Table (#3660) 2022-08-22 19:21:54 +00:00
micro-distribution Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Table_Tests Don't rename imported Main module that only imports names (#3710) 2022-09-16 13:01:06 +00:00
Tests Don't rename imported Main module that only imports names (#3710) 2022-09-16 13:01:06 +00:00
Visualization_Tests Don't rename imported Main module that only imports names (#3710) 2022-09-16 13:01:06 +00:00