-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDE inserts import for Boolean
when True
is selected from the dropdown
#6816
Comments
Boolean
when True
selected from dropdownBoolean
when True
is selected from the dropdown
I don't experience the same thing. For me, selecting cb-import-bool.mp4 |
There was a problem with re-exports, but that one got fixed in #6778 - assuming the fix is correct, it is now up to the IDE to adjust to the updates with reexport. Thanks @Frizi testing. I am not sure what to conclude from your video (except something is broken) - the reexport information shall be there since #6778 - if there is some work needed on the |
I reproduced the issue exactly as in the description, i.e. the Component Browser does not insert import, but drop-down does. @Frizi I think you have an older engine in your project. Make sure it's never than nightly 2022-05-18. |
…#7028) Fixes #6816. The code for adding imports for dropdown widgets was unified with CB. The code was moved from the searcher controller to the graph controller. Also, I changed the signature for a few `lookup_*` methods of the suggestion database, because I have always found it weird that they return `Option` instead of `Result`. They now work nicely with the surrounding code. https://github.com/enso-org/enso/assets/6566674/49125f8d-096e-4cca-a922-4811ed717a4d
Ilya Bogdanov reports a new STANDUP for the provided date (2023-06-14): Progress: Investigated and fixed the issue with redundant imports and opened a PR. It should be finished by 2023-06-15. |
Ilya Bogdanov reports a new STANDUP for the provided date (2023-06-15): Progress: Addressing review comments. It should be finished by 2023-06-15. |
What type of issue is this?
Permanent – Occurring repeatably
What issue are you facing?
IDE inserts a new import for
Boolean
whenTrue
is selected from the dropdown, even though theBoolean
type is reexported fromStandard.Base.Main
.This does not happen when
True
is selected from the Component Browser.Expected behaviour
IDE does not insert additional imports when
True
is selected from the dropdown.How we can reproduce it?
Statistic.Skew
nodeTrue
from the dropdownfrom Standard.Base.Data.Boolean import Boolean
importScreenshots or screencasts
Logs
The engine sends suggestion updates with the proper
reexport
field forBoolean
type and constructors:project-manager.log.zip
Enso Version
b353b35
Browser or standalone distribution
Chromium
Browser Version or standalone distribution
113.0.5672.126
Operating System
Linux
The text was updated successfully, but these errors were encountered: