Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnFix error when trying to save changes to a .aplc file opened with )ed myclass.aplc. This is Link issue 257, fixed in link 2.1. #682

Open
dyavc opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dyavc
Copy link

dyavc commented Nov 8, 2024

Describe the bug
Get an odd error when trying to save changes to a .aplc file opened with )ed myclass.aplc.

This is reported to Dyalog Support by a user.

This looks like a return of Link issue #257, fixed in link 2.1.

To Reproduce
download attached .aplc file to a directory such as c:\tmp
⍝ in 19.0 with Link 4.0.17
)ed c:\tmp\myclass2.aplc

Expected behaviour
It works as expected in 18.2.50238 with link 3.0.19. Do not get the error.

Session transcript
]tools.version
Dyalog 19.0.50411 64-bit Unicode, BuildID 64bbdef6
OS Windows 10 or Windows Server 2016 64-bit
Link 4.0.17
SALT 2.915
UCMD 2.6

⍝ Also reproduces in Dyalog 20.0.50409 64-bit Unicode, BuildID 6def4920
⍝ 20.0 with Link 4.0.20

)ed d:\tmp\myclass2.aplc

⍝ I add a blank line and press Escape to

⍝ I edit and set a breakpoint in ⎕se.Link.U.GetAplSource[43]

GetAplSource[43]

  )si

⎕SE.Link.U.GetAplSource[43]*
⎕SE.Link.OnFix[14]
⎕SE.SALTUtils.EditorFix[30]
⎕DQ

  ns

#.[Namespace]

  name

d:\tmp\Noodle.aplc

  nc

1

  ns NameClass name

¯1

  nc

1

@dyavc dyavc added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant