mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Make TypeDecl Identifiable
This commit is contained in:
parent
74dbe899fa
commit
5b2f6ed3d5
@ -64,6 +64,7 @@ identifiable term = isIdentifiable (unwrap term) term
|
||||
S.Array ty _ -> if isJust ty then Identifiable else Unidentifiable
|
||||
S.Object ty _ -> if isJust ty then Identifiable else Unidentifiable
|
||||
S.BlockStatement{} -> Identifiable
|
||||
S.TypeDecl{} -> Identifiable
|
||||
_ -> Unidentifiable
|
||||
|
||||
data JSONSummary summary span = JSONSummary { summary :: summary, span :: span }
|
||||
|
Loading…
Reference in New Issue
Block a user