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

Patches & leaves are nullary.

This commit is contained in:
Rob Rix 2015-11-04 16:22:42 -05:00
parent 29645e0d99
commit 80a29789ad

View File

@ -229,6 +229,9 @@ extension Free {
public func explore() -> Location<Free> {
func weave(free: Free) -> Location<Free>.Unweave {
switch free {
case .Pure, .Roll(_, .Leaf):
return Location.nullary
default:
fatalError("unimplemented")
}