diff options
author | chrishaw <unknown> | 2015-02-27 21:38:43 -0800 |
---|---|---|
committer | chrishaw <unknown> | 2015-02-27 21:38:43 -0800 |
commit | 37cf41094924998548a8c7d3423d4b63da3fb482 (patch) | |
tree | 62e1adbc105da94f7185d1c8af42536b5394ac2b /Source/Dafny/Printer.cs | |
parent | c80094ecb0101406599cb9b1a169e2e6e03ff6e7 (diff) |
Add imap display/update expressions
Diffstat (limited to 'Source/Dafny/Printer.cs')
-rw-r--r-- | Source/Dafny/Printer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Printer.cs b/Source/Dafny/Printer.cs index 41b40bfc..bf483528 100644 --- a/Source/Dafny/Printer.cs +++ b/Source/Dafny/Printer.cs @@ -1340,7 +1340,7 @@ namespace Microsoft.Dafny { } else if (expr is MapDisplayExpr) {
MapDisplayExpr e = (MapDisplayExpr)expr;
- wr.Write("map");
+ wr.Write(e.Finite ? "map" : "imap");
wr.Write("[");
PrintExpressionPairList(e.Elements);
wr.Write("]");
|