Closed aplteam closed 11 months ago
During review of the PR including the fix which allowed this, Adam and Morten decided to reject it due to the risk of inadvertently losing code changes. In fact, a new issue #596 was opened to verify that there are not other cases where the use of unnamed namespaces can lead to code loss.
A future configuration option will perhaps allow a user to declare that these warnings can be silenced.
How somebody can put code into an unnamed namespace and expect it to survive escaped me.
Less sophisticated users are not necessarily very aware of the difference between ('myns' ⎕NS '') and (myns←⎕NS ''). Many think that the latter is the new and therefore best way to do things.
When a function that lives in a Linked namespace creates an unnamed namespace with
and later on populates that unnamed namespace with a variable named, say,
foo
, and then attempts to edit this variable withthen after making a change one gets this error message:
meaning that Link worries about unnamed namespaces; it should rather ignore them.
(this is my <01989>)