Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4786bb
commit 7807e9a
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{-# OPTIONS --type-in-type #-} | ||
|
||
module _ where | ||
|
||
Set' : ∀ i → Set _ | ||
Set' i = Set i | ||
|
||
postulate | ||
A : Set | ||
a : A | ||
T : Set → Set | ||
comp : (P : A → Set) (g : (a : A) → P a) → P a | ||
foo : ∀ i (Q : A → Set' i) → T (comp _ Q) | ||
-- (no issue if Set' is replaced by Set) | ||
|
||
bar : T {!_!} -- Try to give _ | ||
bar = foo _ _ | ||
|
||
-- WAS: | ||
-- A !=< Agda.Primitive.Level of type Set | ||
-- when checking that the expression _ has type Set | ||
-- SHOULD: succeed (with unsolved meta) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
top_command (cmd_load currentFile []) | ||
goal_command 0 cmd_give "_" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(agda2-status-action "") | ||
(agda2-info-action "*Type-checking*" "" nil) | ||
(agda2-highlight-clear) | ||
(agda2-status-action "") | ||
(agda2-info-action "*All Goals*" "?0 : Set _Q_17 : A → Set' Agda.Primitive.lzero [ at Issue3073.agda:17,13-14 ] " nil) | ||
((last . 1) . (agda2-goals-action '(0))) | ||
(agda2-give-action 0 "_") | ||
(agda2-status-action "") | ||
(agda2-info-action "*All Goals*" "_Q_17 : A → Set' Agda.Primitive.lzero [ at Issue3073.agda:17,13-14 ] " nil) | ||
((last . 1) . (agda2-goals-action '())) |