Skip to content

Commit

Permalink
[ #5584 ] test case
Browse files Browse the repository at this point in the history
closes #5584 which was a the same problem as #5544
  • Loading branch information
UlfNorell committed Nov 18, 2021
1 parent 4173fd6 commit 058e350
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/Succeed/Issue5584.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

open import Agda.Builtin.Sigma

dup : {A : Set} A Σ A λ _ A
dup x = x , x

postulate
A : Set

module M {x : A} where
y = x

data X : Set where
mkX : {x : A}
let
(_ , _) = dup x
open M {x}
in
X

0 comments on commit 058e350

Please sign in to comment.