enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 321 forks source link

The currently opened project name is not recognized as Main module. #5616

Open farmaazon opened 1 year ago

farmaazon commented 1 year ago

To reproduce:

  1. Open any project and create a new method in its Main module (by, for example, collapsing nodes).
  2. (perhaps needed: rename the project).
  3. Open Component browser and pick this function (it's in "Local Scope" section).The inserted node has code <current project name>.<function name> e.g. Unnamed1.func1

Expected:

The node evaluates properly

Actual:

The node has error, the message says that the project name is not recognized.

Image

jdunkerley commented 1 year ago

Not needed for initial release.