Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
c3fcec7b
Commit
c3fcec7b
authored
Sep 25, 2015
by
Andrei Paskevich
Committed by
Guillaume Melquiond
Oct 13, 2015
Browse files
Dterm: admit formulas in let-in (fixes #19565)
parent
7fdaad84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/dterm.ml
View file @
c3fcec7b
...
...
@@ -204,9 +204,7 @@ let denv_get denv n = Mstr.find_exn (UnboundVar n) n denv
let
denv_get_opt
denv
n
=
Mstr
.
find_opt
n
denv
let
dty_of_dterm
dt
=
match
dt
.
dt_dty
with
|
None
->
Loc
.
error
?
loc
:
dt
.
dt_loc
TermExpected
|
Some
dty
->
dty
let
dty_of_dterm
dt
=
Opt
.
get_def
dty_bool
dt
.
dt_dty
let
denv_empty
=
Mstr
.
empty
...
...
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