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

]link.GetFileName returns empty #108

Closed bpbecker closed 4 years ago

bpbecker commented 4 years ago

Description Link.GetFileName behaves differently depending on whether it's called using ⎕SE or as a user command.

To Reproduce

      ]link.create # /git/JSONServer/Source/

Linked: # ←→ c:\git\JSONServer\Source
⍝ the following works:
      ⎕SE.Link.GetFileName #.JSONServer
c:/git/JSONServer/Source/JSONServer.dyalog
⍝ whereas the following returns nothing
      ]link.getfilename #.JSONServer

Version information:

     ]version
 Dyalog  17.1.37304 64-bit Unicode, BuildID a6372ce6            
 OS      Windows 10 or Windows Server 2016 (10.0.18362) 64-bit  
 SALT    2.806                                                  
 UCMD    2.4                                                    
 .NET    4.0.30319.42000                                        
 WS      17.1                                                   
nicolas-dyalog commented 4 years ago

Fixed in Link v2.1