1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Make types identifiable for now

This commit is contained in:
joshvera 2017-01-12 18:28:49 -05:00
parent 392ca1aae2
commit 79d9561c4f

View File

@ -64,6 +64,7 @@ identifiable term = isIdentifiable (unwrap term) term
S.Object ty _ -> if isJust ty then Identifiable else Unidentifiable S.Object ty _ -> if isJust ty then Identifiable else Unidentifiable
S.BlockStatement{} -> Identifiable S.BlockStatement{} -> Identifiable
S.TypeDecl{} -> Identifiable S.TypeDecl{} -> Identifiable
S.Ty{} -> Identifiable
_ -> Unidentifiable _ -> Unidentifiable
data JSONSummary summary span = JSONSummary { summary :: summary, span :: span } data JSONSummary summary span = JSONSummary { summary :: summary, span :: span }