Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
5f3d4fe4
Commit
5f3d4fe4
authored
Apr 22, 2014
by
Pietro Abate
Browse files
Minor compilation error
parent
336d06bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/lambda/src/compute.ml
View file @
5f3d4fe4
...
...
@@ -58,7 +58,7 @@ let rec _to_typed env l expr =
raise
Error
in
let
v
=
if
Types
.
no_var
vtype
then
Var
(
index
,
vname
)
else
TVar
(
index
,
vname
)
in
env
,
l
,
{
exp_loc
=
loc
;
exp_typ
=
t
;
exp_descr
=
v
}
in
env
,
l
,
{
exp_loc
=
loc
;
exp_typ
=
vtype
;
exp_descr
=
v
}
|
Int
(
_
,
i
)
->
let
i
=
Big_int
.
big_int_of_int
i
in
env
,
l
,
{
exp_loc
=
loc
;
exp_typ
=
(
type_of_string
"Int"
);
...
...
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