diff options
author | 2012-07-09 22:12:23 -0700 | |
---|---|---|
committer | 2012-07-09 22:12:23 -0700 | |
commit | ff77f212d935859502939249c5a1596790c61a87 (patch) | |
tree | 220794d5619ec6dfbdbc6e43d1a9a36cd677398a /Source/Dafny/Printer.cs | |
parent | e6c93427a01f67a780c4227a27cddd5d38a9672d (diff) |
Dafny: More work on the coinduction principle
Diffstat (limited to 'Source/Dafny/Printer.cs')
-rw-r--r-- | Source/Dafny/Printer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Dafny/Printer.cs b/Source/Dafny/Printer.cs index a9064e9a..ead518ec 100644 --- a/Source/Dafny/Printer.cs +++ b/Source/Dafny/Printer.cs @@ -1250,6 +1250,10 @@ namespace Microsoft.Dafny { } else if (expr is MatchExpr) {
Contract.Assert(false); throw new cce.UnreachableException(); // MatchExpr is an extended expression and should be printed only using PrintExtendedExpr
+ } else if (expr is BoxingCastExpr) {
+ // this is not expected for a parsed program, but we may be called for /trace purposes in the translator
+ var e = (BoxingCastExpr)expr;
+ PrintExpr(e.E, contextBindingStrength, fragileContext, isRightmost, indent);
} else {
Contract.Assert(false); throw new cce.UnreachableException(); // unexpected expression
}
|