This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
could not find link destination for data family #1071
Open
Description
The following code:
{-# LANGUAGE TypeFamilies #-}
module NewTypeExport where
class Foo t where
data Bar t
data Biz
instance Foo Biz where
data Bar Biz = Bar Biz
Generates the following warning:
Warning: NewTypeExport: could not find link destinations for:
Type D:R:BarBiz0 Bar
When actually Bar Biz
is visible, hence I don't understand the warning. That's similar to #1070, however I don't have any easy workaround for that one.