diff options
author | MichalMoskal <unknown> | 2010-12-17 00:33:08 +0000 |
---|---|---|
committer | MichalMoskal <unknown> | 2010-12-17 00:33:08 +0000 |
commit | 12c28b0c769090a4d444cd31d7e871f707dd06a1 (patch) | |
tree | 32c0dc67cde7c0a88cecacb53bc8dc5a7b3d3d69 /Source/VCGeneration/VC.cs | |
parent | 063f42fc32048568db11fc24cbbe5a81f03f429f (diff) |
Add functions generated in lambda-expansion of function body to top-level program declarations.
Diffstat (limited to 'Source/VCGeneration/VC.cs')
-rw-r--r-- | Source/VCGeneration/VC.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs index d4481bd5..18d4791f 100644 --- a/Source/VCGeneration/VC.cs +++ b/Source/VCGeneration/VC.cs @@ -2270,7 +2270,7 @@ namespace VC { List<Expr> axioms;
List<Function> functions;
LambdaHelper.Desugar(impl, out axioms, out functions);
- // TODO: do something with functions (Z3 currently doesn't need them)
+ program.TopLevelDeclarations.AddRange(functions);
if (axioms.Count > 0) {
CmdSeq cmds = new CmdSeq();
|