sum-types
: Implement missing cases for PTyped
and PLocated
#1609
Labels
bug
Something not working correctly
enums
Issues related to enums
renamer
Issues related to scoping and name resolution.
typechecker
Issues related to type-checking Cryptol code.
On the
sum-types
branch (#1602), there are some places in the code that are missing cases forPTyped
andPLocated
. These include:The
BindsName (Pattern PName)
instance:cryptol/src/Cryptol/ModuleSystem/Binds.hs
Lines 416 to 424 in 221bf4a
The
checkCaseAlt
function:cryptol/src/Cryptol/ModuleSystem/Binds.hs
Lines 416 to 424 in 221bf4a
There may be others—check to see if
-Wincomplete-patterns
warns about other missing cases forPTyped
andPLocated
.The text was updated successfully, but these errors were encountered: