mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Make case statements identifiable
This commit is contained in:
parent
6d42df94ec
commit
fdea1399f0
@ -61,6 +61,7 @@ identifiable term = isIdentifiable (unwrap term) term
|
|||||||
S.Rescue{} -> Identifiable
|
S.Rescue{} -> Identifiable
|
||||||
S.Pair{} -> Identifiable
|
S.Pair{} -> Identifiable
|
||||||
S.Struct{} -> Identifiable
|
S.Struct{} -> Identifiable
|
||||||
|
S.Case{} -> Identifiable
|
||||||
S.Array ty _ -> if isJust ty then Identifiable else Unidentifiable
|
S.Array ty _ -> if isJust ty then Identifiable else Unidentifiable
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user