1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Note the need for SES.

This commit is contained in:
Rob Rix 2015-09-11 16:35:02 -04:00
parent 8fa77ae595
commit a7fef6ced9

View File

@ -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)):