1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Remove the unflattened implementation.

This commit is contained in:
Rob Rix 2015-11-12 18:01:23 -05:00
parent 561045ced4
commit aed17adfed

View File

@ -69,8 +69,6 @@ extension Cofree {
case let (.Unroll(a, s), .Unroll(b, t)):
return annotation(a, b) && Syntax.equals(leaf: leaf, recur: Cofree.equals(annotation: annotation, leaf: leaf))(s, t)
}
return annotation(left.extract, right.extract)
&& Syntax.equals(leaf: leaf, recur: Cofree.equals(annotation: annotation, leaf: leaf))(left.unwrap, right.unwrap)
}
}