You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was curious about the current state of the project so I decided to clone it and run it on my work codebase.
Running the swift-format 5.2 branch fails with error "Too many unresolved delmiter token lengths" when run on my current project. I was able to narrow it down to the following minimal example:
Broken:
classFoo {
init(bar: Int) {}
}
Working:
classFoo {
init() {}
}
I dug through the swift-format source a little bit but wasn't able to figure out the root of the problem since I am pretty unfamiliar with the structure of how it works.
Bonus bug, delimiter is spelled incorrectly in the error message!
Environment
Xcode 11.4
Swift 5.2
Branch: `swift-5.2-branch`
Commit SHA: `1fda39893d3652a9a3f1673565a227f843d59f3c`
Additional Detail from JIRA
md5: 1363f6c20f83c269551863c5a4f54343
Issue Description:
I was curious about the current state of the project so I decided to clone it and run it on my work codebase.
Running the swift-format 5.2 branch fails with error "Too many unresolved delmiter token lengths" when run on my current project. I was able to narrow it down to the following minimal example:
Broken:
Working:
I dug through the swift-format source a little bit but wasn't able to figure out the root of the problem since I am pretty unfamiliar with the structure of how it works.
Bonus bug, delimiter is spelled incorrectly in the error message!
.swift-format:
The text was updated successfully, but these errors were encountered: