Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
b3966675
Commit
b3966675
authored
Mar 09, 2016
by
Andrei Paskevich
Browse files
Revert "logical symbols are not allowed in programs anymore"
This reverts commit
b65dd4ae
.
parent
b68e35e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parser/typing.ml
View file @
b3966675
...
...
@@ -567,9 +567,7 @@ let rec dexpr muc denv {expr_desc = desc; expr_loc = loc} =
let
qualid_app
loc
q
el
=
let
e
=
try
match
find_prog_symbol
muc
q
with
|
PV
pv
->
DEpv
pv
|
RS
rs
->
DErs
rs
with
|
_
->
ignore
(
find_lsymbol
muc
.
muc_theory
q
);
Loc
.
errorm
~
loc
"Symbol %a is a pure logical symbol, \
it cannot be used in a program"
print_qualid
q
in
|
_
->
DEls
(
find_lsymbol
muc
.
muc_theory
q
)
in
expr_app
loc
e
el
in
let
qualid_app
loc
q
el
=
match
q
with
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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