forked from agda/agda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ fix agda#6006 ] Postpone check for unsolved metas until building of…
… pattern
- Loading branch information
1 parent
8fab59d
commit deb2e4b
Showing
5 changed files
with
52 additions
and
25 deletions.
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
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,21 @@ | ||
{-# OPTIONS --type-in-type --rewriting #-} | ||
|
||
infix 10 _≡_ | ||
|
||
data _≡_ {A : Set} (a : A) : A → Set where | ||
reflᵉ : a ≡ a | ||
|
||
{-# BUILTIN REWRITE _≡_ #-} | ||
|
||
postulate | ||
T : Set | ||
C : T | ||
F : T → T | ||
|
||
a : T → T | ||
a x = ? | ||
|
||
postulate | ||
r : ∀ x → F (a x) ≡ C | ||
|
||
{-# REWRITE r #-} |
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,3 @@ | ||
Issue6006.agda:21,1-18 | ||
r is not a legal rewrite rule, since it contains the unsolved meta variable(s) _10 | ||
when checking the pragma REWRITE r |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
RewriteRuleOpenMeta.agda:13,1-18 | ||
r is not a legal rewrite rule, since it contains unsolved meta variables | ||
r is not a legal rewrite rule, since it contains the unsolved meta variable(s) _7 | ||
when checking the pragma REWRITE r |