This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__SymExecBlocks (infer.InferModules__SymExecBlocks)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc %%VERSION%%"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» InferModules__SymExecBlocks</nav><h1>Module <code>InferModules__SymExecBlocks</code></h1></header><dl><dtclass="spec value"id="val-resolve_method_with_block_args_and_analyze"><ahref="#val-resolve_method_with_block_args_and_analyze"class="anchor"></a><code><spanclass="keyword">val</span> resolve_method_with_block_args_and_analyze : <span>caller_summary:<ahref="../InferModules/Summary/index.html#type-t">InferModules.Summary.t</a></span><span>-></span><ahref="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span><span><span>(<ahref="../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> * <ahref="../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a>)</span> list</span><span>-></span><span><span>(<ahref="../InferModules/Summary/index.html#type-t">InferModules.Summary.t</a> * <span><span>(<ahref="../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> * <ahref="../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a>)</span> list</span>)</span> option</span></code></dt><dd><p><code>resolve_method_with_block_args_and_analyze caller_pdesc pname args</code> create a copy of the method pname if it is defined and it's called with the correct number of arguments, and some arguments are block closures. The copy is created by adding extra formals for each captured variable, and by swapping the calls to the block arguments to the calls to the concrete blocks. The new procedure is analyzed and the possibly computed summary is returned together with the list of arguments where the closures where swapped by their captured variables.</p></dd></dl></div></body></html>