diff options
author | rustanleino <unknown> | 2010-07-14 18:31:55 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2010-07-14 18:31:55 +0000 |
commit | d1f8f74e008dbd3ad340ee695790c96098c80c5f (patch) | |
tree | 1967d41631e2be99d41336aed75bada15cb0b09e /Chalice/src/Resolver.scala | |
parent | 5ce119c47b1d5c046a9a39c5fbc94e87435d1d85 (diff) |
Chalice: No longer use Mask for "held" field; instead, only use the value of the "held" field in the heap
Diffstat (limited to 'Chalice/src/Resolver.scala')
-rw-r--r-- | Chalice/src/Resolver.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Chalice/src/Resolver.scala b/Chalice/src/Resolver.scala index 4ce95b3e..14bd7d1c 100644 --- a/Chalice/src/Resolver.scala +++ b/Chalice/src/Resolver.scala @@ -671,7 +671,7 @@ object Resolver { if(inPredicate) context.Error(expr.pos, "holds cannot be mentioned in monitor invariants or predicates")
if(! specContext)
context.Error(expr.pos, "holds is allowed only in positive predicate contexts");
- //todo: check that we are not in an invariant
+ //todo: check that we are not in a monitor invariant
ResolveExpr(e, context, twoStateContext, false)
expr.typ = BoolClass
case expr@ RdHolds(e) =>
|