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:
parent
29645e0d99
commit
80a29789ad
@ -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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user