Skip to content
Snippets Groups Projects
Commit 60a0277a authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix function parameter initialization.

Context management for parameters of functions was incorrect. To fix it we store
a context identifier which allows to identify precisely parameters location (in
memory).

Thanks to this fix, the following code produces the correct output (as it was
the case before context introduction)
``
let f: R -> R, x -> x+3;
let g: R -> R, x -> 2*f(x);

R x = g(2);
``
parent a2d58abe
No related branches found
No related tags found
1 merge request!37Feature/language
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment