Closed katovBash closed 2 years ago
Hi, can you provide the file that produces this error? You can send it privately to support @ charcoaldesign.co.uk if you'd prefer not to make it public.
One of them:
error: Unexpected end of file at 20:30 in /Users/.../Actions.swift.
// MARK: - Actions
public enum Actions: Hashable, Decodable { case redirect(URL?) case refresh case back
// MARK: Public
public var redirectURL: URL? { let path = /Self.redirect return path.extract(from: self)?.flatMap { $0 } } }
extension Core_Action_ComposedAction { public var uiAction: Actions { switch component { case let .actionRedirect(redirect): return Actions.redirect(URL(string: redirect.link.value)) case .actionBack: return .back default: return .refresh } } }
Ah OK, so this is using the CasePaths library, right? I suspect it's related to https://github.com/nicklockwood/SwiftFormat/issues/1199
All right. Ok, thanks)
@katovBash fixed in 0.49.11
@nicklockwood ver. 0.49.11 hmm... errors become lesser, but it still appeared Still error in file, that was clipped. Error: "error: Unexpected end of file at 20:30"
@katovBash fixed in 0.49.12
**After release 0.49.10 there was appeared error: make: * [format] Error 70.
In console we can find: error: Unexpected end of file at 24:77 error: Unexpected end of file at 20:30 error: Expected end of scope on line 218 and etc. in different files.
In xCode all is fine. Its build and all brackets are in current place :)