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 11 forks source link

LENGTH ERROR if .linkconfig contains typeExtensions #601

Closed mkromberg closed 7 months ago

mkromberg commented 9 months ago

If a .linkconfig file contains typeExtensions, ]link.create will fail with a LENGTH ERROR due to a missing "mix" of the incoming values. To reproduce:

opts.typeExtensions←3 2⍴2 'apla' 3 'aplf' 4 'aplo' 9.1⊣opts←⎕NS ''
opts ⎕SE.Link.Create # c:/tmp/link-601
]link.break #
]link.create # c:/tmp/link-601

ERRORS ENCOUNTERED: LENGTH ERROR