summaryrefslogtreecommitdiff
path: root/Source/Dafny/Triggers/QuantifiersCollection.cs
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-20 19:58:46 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-20 19:58:46 -0700
commite676ad0877d31cb73a1a6bb5aae677ac64593fd6 (patch)
tree5ea6563ed11ae2df0c60de418b8036751ae9ec3c /Source/Dafny/Triggers/QuantifiersCollection.cs
parent24812516d64ed809d7446680a79eac492ea6a201 (diff)
Cleanup a number of FIXMEs that I had left in the code
Diffstat (limited to 'Source/Dafny/Triggers/QuantifiersCollection.cs')
-rw-r--r--Source/Dafny/Triggers/QuantifiersCollection.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Dafny/Triggers/QuantifiersCollection.cs b/Source/Dafny/Triggers/QuantifiersCollection.cs
index bfa90d81..8e4c3261 100644
--- a/Source/Dafny/Triggers/QuantifiersCollection.cs
+++ b/Source/Dafny/Triggers/QuantifiersCollection.cs
@@ -7,8 +7,6 @@ using System.Text;
using Microsoft.Boogie;
using System.Diagnostics.Contracts;
-//FIXME: When scoring, do not consider old(x) to be higher than x.
-
namespace Microsoft.Dafny.Triggers {
class QuantifierWithTriggers {
internal QuantifierExpr quantifier;
@@ -149,16 +147,14 @@ namespace Microsoft.Dafny.Triggers {
var msg = new StringBuilder();
var indent = addHeader ? " " : "";
- if (!TriggerUtils.NeedsAutoTriggers(q.quantifier)) { //FIXME: matchingloop, split and autotriggers attributes are passed down to Boogie
+ if (!TriggerUtils.NeedsAutoTriggers(q.quantifier)) { // NOTE: matchingloop, split and autotriggers attributes are passed down to Boogie
msg.AppendFormat("Not generating triggers for {{{0}}}.", Printer.ExprToString(q.quantifier.Term)).AppendLine();
- // FIXME This shouldn't be printed for autoReqs. (see autoReq.dfy)
- // FIXME typeQuantifier?
} else {
if (addHeader) {
msg.AppendFormat("For expression {{{0}}}:", Printer.ExprToString(q.quantifier.Term)).AppendLine();
}
- foreach (var candidate in q.Candidates) { //FIXME make this _trigger instead of trigger
+ foreach (var candidate in q.Candidates) {
q.quantifier.Attributes = new Attributes("trigger", candidate.Terms.Select(t => t.Expr).ToList(), q.quantifier.Attributes);
}