@@ -130,7 +130,7 @@ lookupDatatype ty = do
130130 Nothing -> if S.member ty s then pure () else
131131 error $ "can't look up datatype: " <> show ty
132132 Just typ -> case references typ of
133− [] -> proceed ty typ -- >> sortDatatypesByDeps -- Pretty sure this was a bug
133+ [] -> proceed ty typ
134134 xs -> traverse_ lookupDatatype xs >> proceed ty typ
135135
136136class Capitalizable t where