agda2hs icon indicating copy to clipboard operation
agda2hs copied to clipboard

Incorrect compilation of type synonyms

Open flupe opened this issue 10 months ago • 0 comments

Bug reported by @liesnikov.

private variable @0 a : Set

Ap : (p : @0 a → Set) → @0 a → Set
Ap p x = p x
{-# COMPILE AGDA2HS Ap #-}

Expected output:

type Ap p = p

Actual output:

type Ap x = p

flupe avatar Mar 26 '24 16:03 flupe