We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RecordRef
typeCheckCon
1 parent f8d8c6d commit 291aca2Copy full SHA for 291aca2
src/lib/Type.hs
@@ -638,7 +638,7 @@ typeCheckCon con = case con of
638
return $ RawRefTy ty
639
_ -> error $ "Not a valid ref: " ++ pprint conRef
640
ParIndexCon t v -> t|:TyKind >> v|:IdxRepTy >> return t
641
- RecordRef _ -> error "Not implemented"
+ RecordRef xs -> (RawRefTy . RecordTy . NoExt) <$> traverse typeCheckRef xs
642
643
typeCheckRef :: HasType a => a -> TypeM Type
644
typeCheckRef x = do
0 commit comments