aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre Letouzey2015-12-14 19:46:25 +0100
committerPierre Letouzey2015-12-14 19:56:31 +0100
commit7d2f7e1665136f5d7a2882f733ae807e1a55dc7c (patch)
tree2025b86aed923e2b3279b4c4eaff639d7551bb3b /kernel
parent7c645566ef64f09bd6c80007c9e66305ccb90659 (diff)
Extraction: propagate implicit args in inner fixpoint (bug #4243 part 2)
In front of "let rec f x y = ... in f n m", if n is now an implicit argument, then the argument x of the inner fixpoint f is also considered as implicit. This optimization is rather ad-hoc, since we only handle MLapp(MLfix()) for now, and the implicit argument should be reused verbatim as argument. Note that it might happen that x cannot be implicit in f. But in this case we would have add an error message about n still occurring somewhere... At least this small heuristic was easy to add, and was sufficient to solve the part 2 of bug #4243.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions