1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Make case statements identifiable

This commit is contained in:
joshvera 2017-01-10 16:21:29 -05:00
parent 6d42df94ec
commit fdea1399f0

View File

@ -61,6 +61,7 @@ identifiable term = isIdentifiable (unwrap term) term
S.Rescue{} -> Identifiable
S.Pair{} -> Identifiable
S.Struct{} -> Identifiable
S.Case{} -> Identifiable
S.Array ty _ -> if isJust ty then Identifiable else Unidentifiable
S.Object ty _ -> if isJust ty then Identifiable else Unidentifiable
S.BlockStatement{} -> Identifiable