[Agda] Duplicate parameter names in type definition

Vag Vagoff vag.vagoff at gmail.com
Thu Oct 29 19:51:29 CET 2009


module Bug where

data Type : Set where value : Type
data Test (h : Type) (h : Type) : Set where -- duplicate names [!]
     tst : Test _ _
test : Test value value
test = tst

This source typechecks. Is it intended compiler behaviour?


More information about the Agda mailing list