Dyalog / link

Source code for Link – the built-in component that enables the use of text files as the primary storage mechanism for APL source code
https://dyalog.github.io/link
MIT License
19 stars 10 forks source link

Expunge does not deal correctly with ## and the likes #506

Closed aplteam closed 11 months ago

aplteam commented 1 year ago
      ⎕THIS ⍝
#.MakeHelpers.TestCases
      ##.MakeHelpers.⎕NC'IncreaseBuildID'
3
      ⊣⎕SE.Link.Expunge '##.MakeHelpers.IncreaseBuildID'
1
      ##.MakeHelpers.⎕NC'IncreaseBuildID'
3
⍝ ?!?!

As it turns out Expunge did delete a function

⎕SE._tatin.aplteam_MakeHelpers_0_5_0.code.API.IncreaseBuildID

but not the intended function because it does not convert ## into what is appropriate.

That is clearly not what was intended because the name class of the object is correctly established from within #.MakeHelpers.TestCases and therefore results in #.MakeHelpers.MakeHelpers as it should.