summaryrefslogtreecommitdiff
path: root/Chalice/src/main
diff options
context:
space:
mode:
authorGravatar stefanheule <unknown>2012-05-18 18:37:28 +0200
committerGravatar stefanheule <unknown>2012-05-18 18:37:28 +0200
commit31795bf14962bc40ba0618e7a628bbba3148f13f (patch)
treea9f74e74163cec88d90f5bbde8c8cf4e85be6afb /Chalice/src/main
parentf5ff0fd118013ff6e5adf03b1e42d15887a69696 (diff)
Chalice: Allow more expression in the predicate body.
Diffstat (limited to 'Chalice/src/main')
-rw-r--r--Chalice/src/main/scala/Translator.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/Chalice/src/main/scala/Translator.scala b/Chalice/src/main/scala/Translator.scala
index 6a10df3b..05035f68 100644
--- a/Chalice/src/main/scala/Translator.scala
+++ b/Chalice/src/main/scala/Translator.scala
@@ -2282,7 +2282,7 @@ class ExpressionTranslator(val globals: Globals, preGlobals: Globals, val fpi: F
case acc @ AccessSeq(s, Some(member), perm) =>
throw new InternalErrorException("not implemented yet")
case cr@Credit(ch, n) =>
- throw new InternalErrorException("not implemented yet")
+ Nil
case Implies(e0,e1) =>
Boogie.If(Tr(e0), f(e1), Nil)
case IfThenElse(con, then, els) =>
@@ -2290,9 +2290,9 @@ class ExpressionTranslator(val globals: Globals, preGlobals: Globals, val fpi: F
case And(e0,e1) =>
f(e0) ::: f(e1)
case holds@Holds(e) =>
- throw new InternalErrorException("not implemented yet")
+ Nil
case Eval(h, e) =>
- throw new InternalErrorException("not implemented yet")
+ Nil
case e =>
Nil
}