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

Single line comment is causing following code change #220

Closed
eglekaz opened this issue Sep 25, 2024 · 2 comments
Closed

Single line comment is causing following code change #220

eglekaz opened this issue Sep 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@eglekaz
Copy link
Collaborator

eglekaz commented Sep 25, 2024

This:

class MyUtility:
  // used when two or more of same processes are not supposed to be executing at the same time
  method public log alreadyRequestedProcess(pcProgramName as char):
    return false.
  end method.
end class.

Becomes this:

class MyUtility:
  // used when two or more of same processes are not supposed to be executing at the same time
  method public log alreadyRequestedPr:
cess(pcProgramName as char):
     return false.
   end method.
end class.

If the comment is removed, the issue is gone

@eglekaz eglekaz added the bug Something isn't working label Sep 25, 2024
@gustason
Copy link
Collaborator

When EOLS is not set to CRLF, everything gets formatted correctly. Therefore, this is a part of #153.

@eglekaz
Copy link
Collaborator Author

eglekaz commented Sep 26, 2024

Added example above to the mentioned issue and closing this one.

@eglekaz eglekaz closed this as completed Sep 26, 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

When branches are created from issues, their pull requests are automatically linked.

2 participants