Evgenii Egorov
Evgenii Egorov
For example: https://github.com/jpsim/SourceKitten/blob/master/Source/SourceKittenFramework/File.swift#L71 https://github.com/jpsim/SourceKitten/blob/master/Source/SourceKittenFramework/File.swift#L239 https://github.com/jpsim/SourceKitten/blob/master/Source/SourceKittenFramework/File.swift#L311 Because responses are received from external SourceKit daemon they can contain any unexpected data.
I'm talking about SourceKit API changes and internal errors when we could receive wrong responses. For example "key.offset" field is expected as Int64, but got String in response instead. Or...
Thanks. I'll look for #274 and try to implement strongly typed API.