As shown on the video, I managed to create a graph that starts from a single starting node and after collapsing it contains that node as 2 duplicated arguments.
Expected behaviour
This graph has only 1 input node, so it should have just 1 argument after collapsing.
Curiously, while the warning is not showing up in the GUI code editor, if I run such code in CLI, I get:
X:\NBO\enso\foo.enso:3:12: warning: Unused function argument operator83051.
3 | collapsed1 operator83051 operator83051 =
| ^~~~~~~~~~~~~
X:\NBO\enso\foo.enso:3:12: warning: The argument 'operator83051' is shadowed by another one with the same name.
3 | collapsed1 operator83051 operator83051 =
| ^~~~~~~~~~~~~
[-49.0, 1020]
https://github.com/enso-org/enso/assets/1436948/d66945b9-e58c-45f8-a1a3-f328eae49b61
As shown on the video, I managed to create a graph that starts from a single starting node and after collapsing it contains that node as 2 duplicated arguments.
Expected behaviour
This graph has only 1 input node, so it should have just 1 argument after collapsing.
Actual behaviour
The following function is created:
Curiously, while the warning is not showing up in the GUI code editor, if I run such code in CLI, I get: