diff options
| author | Gaëtan Gilbert | 2018-11-07 15:25:59 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-11-12 09:58:39 +0100 |
| commit | 9bd403ec1b6cedf0542e193774a7af52b27c0a1b (patch) | |
| tree | f486e4f160724b17d1843755ae86fc0125ff192f /test-suite | |
| parent | 186d67228018a84a93de024971356249ddbde668 (diff) | |
Fix #8908: incorrect refresh of algebraic universes.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_8908.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_8908.v b/test-suite/bugs/closed/bug_8908.v new file mode 100644 index 0000000000..9c85839b75 --- /dev/null +++ b/test-suite/bugs/closed/bug_8908.v @@ -0,0 +1,8 @@ +Record foo : Type := + { fooA : Type; fooB : Type }. +Definition id {A : Type} (a : A) := a. +Definition untypable : Type. + unshelve refine (let X := _ in let Y : _ := ltac:(let ty := type of X in exact ty) in id Y). + exact foo. + constructor. exact unit. exact unit. +Defined. |
