UlfNorell / agda-test

Agda test
0 stars 0 forks source link

Confusion between constructor and variable name #981

Closed UlfNorell closed 10 years ago

UlfNorell commented 10 years ago

From jesper.c...@gmail.com on November 26, 2013 15:34:52

Using the latest darcs version of Agda, I get an internal error at src/full/Agda/TypeChecking/Substitute.hs:82 for the following program:

=== BEGIN CODE ===

module InternalError (A : Set) where

data D : Set where d : D

data P : D → Set where

Confuse : (d : D) (p : P d) → Set Confuse x ()

confusing : (d : D) (p : P d) → Confuse d p confusing x ()

test : (x : P d) → Set test x with confusing d x test x | e = ?

=== END CODE ===

Some remarks:

Original issue: http://code.google.com/p/agda/issues/detail?id=981

UlfNorell commented 10 years ago

From ulf.nor...@gmail.com on November 26, 2013 23:20:38

Status: Accepted
Owner: ulf.nor...@gmail.com
Labels: Type-Defect Priority-High Milestone-2.3.4

UlfNorell commented 10 years ago

From ulf.nor...@gmail.com on November 27, 2013 04:42:17

Status: Fixed