summaryrefslogtreecommitdiff
path: root/Binaries
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2014-01-08 18:47:33 -0800
committerGravatar Rustan Leino <unknown>2014-01-08 18:47:33 -0800
commit041a1a226a96ba55ff22251eb98666241a1d769a (patch)
tree88a3d00b32dcb02883fb85293d27f73ae9c3cfec /Binaries
parent621178a0da1fee756dcf6dd713c8ef5b14530800 (diff)
Allow left-hand sides of a let expression to be patterns (like in the case of a match expression).
Moved the implementation of CondApplyBox, BoxIfNecessary, CondApplyUnbox, and ModeledAsBoxType from class ExpressionTranslator to class Translator. Fixed compilation of match expressions, to allow them anywhere.
Diffstat (limited to 'Binaries')
-rw-r--r--Binaries/DafnyRuntime.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Binaries/DafnyRuntime.cs b/Binaries/DafnyRuntime.cs
index a8faafae..3afac587 100644
--- a/Binaries/DafnyRuntime.cs
+++ b/Binaries/DafnyRuntime.cs
@@ -627,5 +627,6 @@ namespace Dafny
{
return u;
}
+ public delegate Result Function<Input,Result>(Input input);
}
}