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

.orig files cause trouble #14

Open
buffstop opened this issue Aug 21, 2018 · 3 comments
Open

.orig files cause trouble #14

buffstop opened this issue Aug 21, 2018 · 3 comments

Comments

@buffstop
Copy link

If you have *.swift.orig files in a directory, I get issue #13 even parsing 4 files only.

@yoshimkd
Copy link
Owner

Thanks for the report.
I investigated what happens when files with an extension .swfit.orig are present in a directory. Turns out they are ignored when parsing.
I believe the issue will be the same if you remove those files from the directory. If that's what happens, you can close this issue.

@buffstop
Copy link
Author

No. A folder with 5 .swift files and 1 ore more .swift.orig files shows the behaviour described in issue #13 (loading indicator forever). Removing the .orig files cures the issue.

@yoshimkd
Copy link
Owner

Unfortunately, I can't reproduce your issue.
This is what I'm trying:

the files in a directory:
files-in-a-directory

the files' contents:
file-contents

the result diagram:
result-diagram

It appears that the file with a .swift.orig is getting ignored as I previously stated. Let me know how I can reproduce your issue.

Also, I'm a little confused with your previous comment where you say:

To check if non-swift files or weird directory names cause the issue I have copied all .swift files of a mid size project to one directory (346 files). The problem persisted.

Judging by this statements, removing the non .swift files didn't fix that problem for you but in this comment a similar thing fixed that problem.

Can you please let us know in which cases the .swift.orig files cause problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants