You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running buildEngineDistribution yields the following warning:
...
[info] Generating index for built-distribution\enso-engine-0.0.0-dev-windows-amd64\enso-0.0.0-dev\lib\Standard\Table
X:\NBO\enso\built-distribution\enso-engine-0.0.0-dev-windows-amd64\enso-0.0.0-dev\lib\Standard\Table\0.0.0-dev\src\Foo.enso:1:1: warning: Duplicated import of naming_helper. The original import is 'from Standard.Table.Column import apply_unary_operation, naming_helper' in Foo.enso[1:1-1:63].
1 | from project.Column import apply_unary_operation, naming_helper
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Obviously the import is not duplicated - if I comment it out or remove one of the two imported names this results in compiler error, e.g.
changing to
from project.Column import apply_unary_operation
foo = [apply_unary_operation, naming_helper]
yields
X:\NBO\enso\built-distribution\enso-engine-0.0.0-dev-windows-amd64\enso-0.0.0-dev\lib\Standard\Table\0.0.0-dev\src\Foo.enso:3:31: error: The name `naming_helper` could not be found.
3 | foo = [apply_unary_operation, naming_helper]
| ^~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
While working on #12357 I've found a situation where the compiler is reporting a spurious warning.
The minimal patch I've found to reproduce it is:
Running
buildEngineDistribution
yields the following warning:Obviously the import is not duplicated - if I comment it out or remove one of the two imported names this results in compiler error, e.g.
changing to
yields
The text was updated successfully, but these errors were encountered: