-
Notifications
You must be signed in to change notification settings - Fork 324
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
Refactorings in BindingsMap lead to illegal state #8186
Comments
What are the steps to reproduce? |
Just open the attached project. |
enso$ git log | head -n1
commit 3d23c6a8d0741c37af736df0c3e002cc4b58edd9
enso$ tar fxz Task_List.tgz
enso$ sbt clean
enso$ sbt runEngineDistribution --run Task_List
[WARN] [2023-10-31T06:37:13+01:00] [enso.org.enso.librarymanager.local.DefaultLocalLibraryProvider] Local library search path [***/libraries] does not exist.
/home/devel/NetBeansProjects/enso/enso.ide/Task_List/src/Main.enso:25:5: warning: Unused variable operator22.
25 | operator22 = operator21.field_names
| ^~~~~~~~~~
/home/devel/NetBeansProjects/enso/enso.ide/Task_List/src/Main.enso:33:5: warning: Unused variable operator31.
33 | operator31 = operator16.use_first_row_as_names
| ^~~~~~~~~~
/home/devel/NetBeansProjects/enso/enso.ide/Task_List/src/Main.enso:44:5: warning: Unused variable operator20.
44 | operator20 = operator30.order_by ['order', 'date']
| ^~~~~~~~~~
/home/devel/NetBeansProjects/enso/enso.ide/Task_List/src/Main.enso:47:5: warning: Unused variable operator27.
47 | operator27 = operator33.write "/Users/gmt/dev/enso/enso/meeting.csv"
| ^~~~~~~~~~
/home/devel/NetBeansProjects/enso/enso.ide/Task_List/src/Main.enso:52:5: warning: Unused variable operator35.
52 | operator35 = operator40.write "/Users/gmt/dev/enso/enso/meeting.txt"
| ^~~~~~~~~~
[success] Total time: 14 s e.g. no problem when running from CLI. |
When opened in the IDE I can see the problem. Thank you for your bug report, @GregoryTravis. |
3 tasks
mergify bot
pushed a commit
that referenced
this issue
Oct 31, 2023
Fixes #8186 by turning `IllegalStateException` into log message. Re-assigning of `BindingsMap` can happen in the IDE where evaluation of modules is repeated again and again. In addition to that avoid dropping errors in compiler without them being noticed.
github-project-automation
bot
moved this from 👁️ Code review
to 🟢 Accepted
in Issues Board
Oct 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reported by @GregoryTravis internally:
The text was updated successfully, but these errors were encountered: