Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Pierre-Marie Pédrot
Iris
Commits
a68ee609
Commit
a68ee609
authored
Feb 09, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn some matches into lazymatches to improve error propagation.
parent
4cba2266
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
theories/proofmode/tactics.v
theories/proofmode/tactics.v
+2
-2
No files found.
theories/proofmode/tactics.v
View file @
a68ee609
...
...
@@ -676,7 +676,7 @@ Local Tactic Notation "iDestructHyp" constr(H) "as" constr(pat) :=
let
rec
find_pat
found
pats
:
=
lazymatch
pats
with
|
[]
=>
match
found
with
lazy
match
found
with
|
true
=>
idtac
|
false
=>
fail
"iDestruct:"
pat
"should contain exactly one proper introduction pattern"
end
...
...
@@ -684,7 +684,7 @@ Local Tactic Notation "iDestructHyp" constr(H) "as" constr(pat) :=
|
IClear
?H
::
?pats
=>
iClear
H
;
find_pat
found
pats
|
IClearFrame
?H
::
?pats
=>
iFrame
H
;
find_pat
found
pats
|
?pat
::
?pats
=>
match
found
with
lazy
match
found
with
|
false
=>
go
H
pat
;
find_pat
true
pats
|
true
=>
fail
"iDestruct:"
pat
"should contain exactly one proper introduction pattern"
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment