1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Look for Modifier Rescue, not RescueModifier.

This commit is contained in:
Rob Rix 2017-01-19 13:12:59 -05:00
parent 36a6760347
commit 8df4e8ca7b

View File

@ -294,7 +294,7 @@ parentContexts contexts = hsep $ either identifiableDoc annotatableDoc <$> conte
C.Rescue -> case t of
"" -> "in a" <+> catName c
_ -> "in the" <+> squotes (termName t) <+> catName c
C.RescueModifier -> "in the" <+> squotes ("rescue" <+> termName t) <+> "modifier"
C.Modifier C.Rescue -> "in the" <+> squotes ("rescue" <+> termName t) <+> "modifier"
C.If -> "in the" <+> squotes (termName t) <+> catName c
C.Case -> "in the" <+> squotes (termName t) <+> catName c
C.Break -> case t of