Skip to content

Commit e501290

Browse files
committed
<TranslateAlias> improved (names)
1 parent b1f84bc commit e501290

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

APLSource/Cider/CheckTargetNamespaceAndLinkFolder.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ref←CheckTargetNamespaceAndLinkFolder(ref parms source);nsIsEmpty;folderIsEmpty;nc
2-
⍝ 1. In case `ref` does not point to a namespace or a script but the name is already taken
2+
⍝ 1. In case `ref` does not point to a namespace or a script but the name is already taken an error is thrown
33
⍝ 2. In case the namespace `ref` and the folder are both empty no action is taken
44
⍝ 3. In case only the namespace `ref` is empty no action is taken
55
⍝ 4. In case only the folder is empty no action is taken
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
r←TranslateAlias alias;aliase;row
2-
:If IsAlias alias
1+
r←TranslateAlias something;aliase;row
2+
:If IsAlias something
33
aliase←P.GetCiderAliasFileContent ⍬
4-
row←aliase[;1]⍳⊂⎕C alias~'[]'
5-
('Unknown alias: ',alias)Assert row≤≢aliase
4+
row←aliase[;1]⍳⊂⎕C something~'[]'
5+
('Unknown alias: ',something)Assert row≤≢aliase
66
r←2⊃aliase[row;]
77
:Else
8-
r←alias
8+
r←something
99
:EndIf

apl-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
tags: "project-management",
2323
tatin_version: "0.103.0",
2424
userCommandScript: "APLSource/Cider_UC.dyalog",
25-
version: "0.50.0-beta-3+970",
25+
version: "0.50.0-beta-3+971",
2626
}

0 commit comments

Comments
 (0)