the-carlisle-group / Acre-Desktop

A simple Dyalog APL IDE plugin that introduces "projects" and allows you to keep your source code in Unicode text files.
MIT License
11 stars 1 forks source link

Acre 6.0 V14.0 DOMAIN ERROR: alt←{1↓'#'sep⊃,/'/',¨'.'sep⊃,/'#',¨⍵} #199

Closed norberturkiewicz closed 4 years ago

norberturkiewicz commented 5 years ago

Trying to fix a function in a new project.

DOMAIN ERROR alt[3] alt←{1↓'#'sep⊃,/'/',¨'.'sep⊃,/'#',¨⍵}

0 ⍵

  ⍵⍵

∇alt ⍴⍵ 0

PhilLast commented 5 years ago

I was surprised you got into acre 6.0 in Dyalog 14.0 at all unless you had the latest build (258 on Aug 31) that fixed #196 .

(I think) I've fixed this locally but have failed to repro the bug because I can't find a way to make the argument to the alt function empty under the editor callback which I can only assume is the problem.

What I've done is proofed the expression against DOMAIN ERROR on ( , / empty ) that was given an identity of ( ⊂ ' ' ) in 15.0.

Next commit later today.

norberturkiewicz commented 5 years ago

@PhilLast any chance you can push this change?

PhilLast commented 5 years ago

Done.