Skip to content
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
@guibou

Description

@guibou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions