mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
CofreeType requires a constructor.
This commit is contained in:
parent
4195edc469
commit
c6962c798d
@ -117,6 +117,7 @@ extension Cofree where Annotation: Categorizable {
|
||||
public protocol CofreeType: TermType {
|
||||
typealias Annotation
|
||||
|
||||
init(_ annotation: Annotation, _ syntax: Syntax<Self, Leaf>)
|
||||
var extract: Annotation { get }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user