summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar qunyanm <unknown>2016-03-28 12:02:37 -0700
committerGravatar qunyanm <unknown>2016-03-28 12:02:37 -0700
commit91cee1c2028f9ad995df863f2a4568d95f4ea1a8 (patch)
tree21fd26ea940c7cb32758c9cac477c0838c5d07c1 /Source
parenta89b9aee05dff74345a79f8fb4fe0fe3fdbb17ad (diff)
Make /autoTriggers:1 to be default. Add /autoTriggers:0 to tests that requires
it. Don't use pretty warning signs since we can't diff them correctly in the test output from the test run.
Diffstat (limited to 'Source')
-rw-r--r--Source/Dafny/DafnyOptions.cs6
-rw-r--r--Source/DafnyServer/Utilities.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Dafny/DafnyOptions.cs b/Source/Dafny/DafnyOptions.cs
index f3b38a84..607090eb 100644
--- a/Source/Dafny/DafnyOptions.cs
+++ b/Source/Dafny/DafnyOptions.cs
@@ -66,7 +66,7 @@ namespace Microsoft.Dafny
public bool AllowGlobals = false;
public bool CountVerificationErrors = true;
public bool Optimize = false;
- public bool AutoTriggers = false;
+ public bool AutoTriggers = true;
public bool RewriteFocalPredicates = true;
public bool PrintTooltips = false;
public bool PrintStats = false;
@@ -386,8 +386,8 @@ namespace Microsoft.Dafny
1 (default) - If preprocessing succeeds, set exit code to the number of
verification errors.
/autoTriggers:<n>
- 0 (default) - Do not generate {:trigger} annotations for user-level quantifiers.
- 1 - Add a {:trigger} to each user-level quantifier. Existing
+ 0 - Do not generate {:trigger} annotations for user-level quantifiers.
+ 1 (default) - Add a {:trigger} to each user-level quantifier. Existing
annotations are preserved.
/rewriteFocalPredicates:<n>
0 - Don't rewrite predicates in the body of prefix lemmas.
diff --git a/Source/DafnyServer/Utilities.cs b/Source/DafnyServer/Utilities.cs
index 30d779e7..48bea01a 100644
--- a/Source/DafnyServer/Utilities.cs
+++ b/Source/DafnyServer/Utilities.cs
@@ -51,7 +51,7 @@ namespace Microsoft.Dafny {
DafnyOptions.O.VerifySnapshots = 2; // Use caching
DafnyOptions.O.VcsCores = Math.Max(1, System.Environment.ProcessorCount / 2); // Don't use too many cores
DafnyOptions.O.PrintTooltips = true; // Dump tooptips (ErrorLevel.Info) to stdout
- DafnyOptions.O.UnicodeOutput = true; // Use pretty warning signs
+ //DafnyOptions.O.UnicodeOutput = true; // Use pretty warning signs
DafnyOptions.O.TraceProofObligations = true; // Show which method is being verified, but don't show duration of verification
} else {
throw new ServerException("Invalid command line options");