Skip to content
Snippets Groups Projects
Commit 89876b7a authored by David Bühler's avatar David Bühler
Browse files

[Eva] Avoids widening functions: this does not work. Fixes a crash.

parent 250c3f07
No related branches found
No related tags found
No related merge requests found
...@@ -227,7 +227,8 @@ let hints_from_keys stmt h = ...@@ -227,7 +227,8 @@ let hints_from_keys stmt h =
float_hints_for_base b) float_hints_for_base b)
let var_hints stmt prio_bases = let var_hints stmt prio_bases =
{ empty with priority_bases = Stmt.Map.singleton stmt prio_bases } let bases = Base.Set.filter (fun b -> not (Base.is_function b)) prio_bases in
{ empty with priority_bases = Stmt.Map.singleton stmt bases }
let num_hints stmto baseo hints = let num_hints stmto baseo hints =
match stmto, baseo with match stmto, baseo with
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment