Skip to content

Wingman can't split type family #1874

Closed
@isovector

Description

@isovector
{-# LANGUAGE TypeFamilies #-}

module Lib where

type family Yo where
    Yo = Bool

test :: Yo -> Int
test b = _

Running Destruct b at the hole prints an internal error, I guess because there are no data constructors. Pretty sure this used to work, so not sure when it regressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: wingmantype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions