summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyExpr.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2012-09-28 10:22:27 +0200
committerGravatar wuestholz <unknown>2012-09-28 10:22:27 +0200
commit17e06aebf154f3f98e1bae92ff1cf7dc3e0dfe70 (patch)
treec65a3ecb40af31a08de2fc4e405aebd5eaaf3a9e /Source/Core/AbsyExpr.cs
parent35d2a968b3fe15ca88c5b8dcf6047da434ab6ce2 (diff)
Fixed the build.
Diffstat (limited to 'Source/Core/AbsyExpr.cs')
-rw-r--r--Source/Core/AbsyExpr.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AbsyExpr.cs b/Source/Core/AbsyExpr.cs
index 61511b33..ff84b501 100644
--- a/Source/Core/AbsyExpr.cs
+++ b/Source/Core/AbsyExpr.cs
@@ -2006,10 +2006,11 @@ namespace Microsoft.Boogie {
public virtual Type Typecheck(ref ExprSeq args, out TypeParamInstantiation tpInstantiation, TypecheckingContext tc) {
//Contract.Requires(tc != null);
//Contract.Requires(args != null);
- Contract.Assert(args.Length == 1);
Contract.Ensures(args != null);
Contract.Ensures(Contract.ValueAtReturn(out tpInstantiation) != null);
+ Contract.Assert(args.Length == 1);
+
tpInstantiation = SimpleTypeParamInstantiation.EMPTY;
if (!cce.NonNull(cce.NonNull(args[0]).Type).Unify(argType)) {