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.
2 parents f8d8c6d + 291aca2 commit ecfbb83Copy full SHA for ecfbb83
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