mirror of
https://github.com/github/semantic.git
synced 2024-11-24 17:04:47 +03:00
Stub in a function to compute the range of a patch.
This commit is contained in:
parent
3fbfeccce9
commit
9959c231aa
@ -3,6 +3,10 @@ func unified(patch: Patch<Term>, source: String) -> String {
|
||||
+ (patch.state.after.map { "{+\($0)+}" } ?? "")
|
||||
}
|
||||
|
||||
private func range(patch: Patch<Term>) -> Range<Int> {
|
||||
return 0..<0
|
||||
}
|
||||
|
||||
func unified(diff: Diff, before: String, after: String) -> String {
|
||||
switch diff {
|
||||
case let .Pure(patch):
|
||||
|
Loading…
Reference in New Issue
Block a user