mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-23 09:52:55 -06:00
remove redundant pattern
This commit is contained in:
@@ -313,7 +313,6 @@ mkLinReference gr typ = do
|
|||||||
Bad msg -> fail msg
|
Bad msg -> fail msg
|
||||||
Sort s | s == cStr -> return (Just trm)
|
Sort s | s == cStr -> return (Just trm)
|
||||||
QC p -> return Nothing
|
QC p -> return Nothing
|
||||||
RecType [] -> return Nothing
|
|
||||||
RecType rs -> traverse rs trm
|
RecType rs -> traverse rs trm
|
||||||
_ | Just _ <- isTypeInts ty -> return Nothing
|
_ | Just _ <- isTypeInts ty -> return Nothing
|
||||||
_ -> checkError ("a field in a linearization type cannot be" <+> typ)
|
_ -> checkError ("a field in a linearization type cannot be" <+> typ)
|
||||||
|
|||||||
Reference in New Issue
Block a user