-
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 mutable skipping in recursive mode
I guess I never actually tested it? Not sure how it would ever have worked. Fix #14
- Loading branch information
1 parent
ee175a9
commit aaf62a8
Showing
3 changed files
with
14 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ bug_10107.v | |
minibench.v | ||
compiler_bug_4.v | ||
compiler_bug_6.v | ||
compiler_bug_14.v |
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,11 @@ | ||
From Ltac2 Require Import Ltac2. | ||
Ltac2 mutable mut : unit := (). | ||
Ltac2 test () := match mut with () => () end. | ||
|
||
From Ltac2Compiler Require Import Ltac2Compiler. | ||
|
||
Ltac2 Compile test. | ||
(* | ||
Dynlink error: execution of module initializers in the shared library failed: | ||
File "plugins/ltac2/tac2env.ml", line 79, characters 2-8: Assertion failed | ||
*) |