Unfortunately not every primitive is executed (when special code
executes a combination /en bloc/). In cases where the primitive is
executed, its original word number is not available if the primitive is
inside a compound.
The best the code can do is report the verb that failed. That might be
a fork, as it is here.
Carrying the word number through to the error message might barely be
possible but it would be a big rewrite. Something to consider.
Henry Rich
On 12/10/2021 12:32 PM, Raul Miller wrote:
If we are considering enhancing the error display, I would focus on
making obvious the specific primitive which threw the error. (In this
case, that would be the {: primitive.)
Compare:
({:}}:)t
|domain error
| ({:}}:)t
({:.}}:)t
|spelling error
| ({:.}}:)t
| ^
Thanks,
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm