summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyExpr.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-11-26 11:14:41 +0100
committerGravatar wuestholz <unknown>2014-11-26 11:14:41 +0100
commit3cc8bed92e80e388961042ee91128e9e8fff4559 (patch)
tree76f7a3b4e7086116aa558f57af6716415385b71f /Source/Core/AbsyExpr.cs
parent00e9da91103bec5253b05a7e67bf3d81a0888e43 (diff)
Fixed issue with resolution of function calls.
Diffstat (limited to 'Source/Core/AbsyExpr.cs')
-rw-r--r--Source/Core/AbsyExpr.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AbsyExpr.cs b/Source/Core/AbsyExpr.cs
index 646b7182..880c2155 100644
--- a/Source/Core/AbsyExpr.cs
+++ b/Source/Core/AbsyExpr.cs
@@ -1836,7 +1836,7 @@ namespace Microsoft.Boogie {
if (Func == null) {
rc.Error(this.name, "use of undeclared function: {0}", name.Name);
}
- else {
+ else if (name.Type == null) {
// We need set the type of this IdentifierExpr so ShallowType() works
Debug.Assert(name.Type == null);
Debug.Assert(Func.OutParams.Count > 0);