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
baae8180
Commit
baae8180
authored
Aug 24, 2015
by
Guillaume Melquiond
Browse files
Avoid an assertion failure on non-executable code.
parent
688e6beb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/whyml/mlw_interp.ml
View file @
baae8180
...
@@ -248,7 +248,7 @@ let big_int_of_const c =
...
@@ -248,7 +248,7 @@ let big_int_of_const c =
let
big_int_of_value
v
=
let
big_int_of_value
v
=
match
v
with
match
v
with
|
Vnum
i
->
i
|
Vnum
i
->
i
|
_
->
assert
false
|
_
->
raise
NotNum
let
eval_true
_ls
_l
=
Vbool
true
let
eval_true
_ls
_l
=
Vbool
true
...
...
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