mirror of
https://github.com/github/semantic.git
synced 2024-11-23 16:37:50 +03:00
Note the need for SES.
This commit is contained in:
parent
8fa77ae595
commit
a7fef6ced9
@ -26,6 +26,7 @@ public enum Diff: CustomDocConvertible, Equatable {
|
||||
public init(_ a: Fix, _ b: Fix) {
|
||||
switch (a.out, b.out) {
|
||||
case let (.Apply(a, aa), .Apply(b, bb)):
|
||||
// fixme: SES
|
||||
self = .Copy(.Apply(Diff(a, b), Array(zip(aa, bb).lazy.map(Diff.init))))
|
||||
|
||||
case let (.Abstract(p1, b1), .Abstract(p2, b2)):
|
||||
|
Loading…
Reference in New Issue
Block a user