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

The error message when running ]link.create foo where foo←ns.goo is most unhelpful #489

Open dyaandys opened 2 years ago

dyaandys commented 2 years ago
  )xload eval
  ]link.create # /tmp/xxx

ERRORS ENCOUNTERED: DOMAIN ERROR: Invalid text array

  1. Invalid text array ? Not from my POV as the APL user - the problem is with a function
  2. Gissa clue - what object is it that's causing the problem

What's the best way to debug this ? I repeatedly rm -r /tmp/xxx, start APL, )xload eval and then delete objects until the create works. But is there a better way of working out what object is causing the error ?

This perhaps should be resolved before #488 which deals with the reason for the error(s).

Link 3.0.19 18.2.45750 64 Unicode on Linux