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
57aef957
Commit
57aef957
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2003-05-10 17:56:28 by cvscast] Detect unused branches
Original author: cvscast Date: 2003-05-10 17:56:28+00:00
parent
7ccb8785
Changes
1
Hide whitespace changes
Inline
Side-by-side
driver/cduce.ml
View file @
57aef957
...
...
@@ -176,8 +176,8 @@ let run ppf ppf_err input =
let
do_fun_decls
decls
=
let
decls
=
List
.
map
(
fun
(
p
,
e
)
->
Typer
.
let_decl
p
e
)
decls
in
Typer
.
report_unused_branches
()
;
insert_type_bindings
(
Typer
.
type_rec_funs
!
typing_env
decls
);
Typer
.
report_unused_branches
()
;
List
.
iter
eval_decl
decls
in
let
rec
phrases
funs
=
function
...
...
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