Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rice Wine
Iris
Commits
a68ee609
Commit
a68ee609
authored
Feb 09, 2017
by
Robbert Krebbers
Browse files
Turn some matches into lazymatches to improve error propagation.
parent
4cba2266
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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