agda2hs icon indicating copy to clipboard operation
agda2hs copied to clipboard

Compiling declared but not-yet-defined datatype silently generates no code

Open jespercockx opened this issue 1 year ago • 1 comments

Minimal example:

data D : Set
{-# COMPILE AGDA2HS D #-}
data D where  C : D

This generates an empty Haskell file. It should either raise an error, or just compile the actual definition.

jespercockx avatar Jul 27 '24 09:07 jespercockx