link icon indicating copy to clipboard operation
link copied to clipboard

Link should not use the term "failed to fix", it is confusing

Open mkromberg opened this issue 1 year ago • 2 comments

      ]link.create # c:\tmp\aplabug
Linked: # ←→ c:\tmp\aplabug [directory was created] 
      (⊂'aaa' 'bbb' 'ccc')⎕NPUT'c:\tmp\aplabug\list.apla'
Link Warning: ⎕SE.Link.Notify: created c:/tmp/aplabug/list.apla: creating #.aaa - failed to fix file
Link Warning: ⎕SE.Link.Notify: changed c:/tmp/aplabug/list.apla: updating un-linked #.aaa - failed to fix file
      ⎕nl -⍳10
(returns nothing)

mkromberg avatar Feb 12 '24 10:02 mkromberg

The given file should indeed fail to fix, as

aaa
bbb
ccc

isn't valid APLAN.

abrudz avatar Feb 27 '24 05:02 abrudz

The problem here was that the "failed to fix" led me to believe that we had passed the contents to ⎕FIX rather than trying to de-serialise the array.

mkromberg avatar Feb 27 '24 10:02 mkromberg