Dyalog / Dyalog/link

Automatic fallback to watch=ns can cause confusion

Open
#496 0 comments 0 reactions 1 assignee Claimed by @mkromberg View on GitHub
bug Low
Dominant language
APL
Stars
26
Forks
11
Avg merge
1d 18h
Merged PRs (30d)
1

Description

If DotNet is not available, Link.Create will automatically fall back from watch=both to watch=ns. If source file names do not match object names, for example if the repository was originally created with case coding on but is now being used with case coding off, Link will read the case-coded files (for example foo-0.aplf), but if functions are edited, write back to foo.aplf (because case coding is now off, and without watch=both, Link does not create a direct link to the file in the interpreter, as this would cause file changes to be picked up).

Potential solutions include always checking for a case-coded version of a source file even when case coding is off and asking the user what to do if it exists. Perhaps also warning the user on link creation that some or all file names are case coded, even when case coding is off.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.