diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-07-06 10:06:45 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-07-06 10:06:45 -0700 |
commit | 732ae479be4409214aea62a1f67df0e6a45c2ab4 (patch) | |
tree | c470e014bc4b53e8dda3e651c004f00bbe24b9bc /Source/Dafny/Cloner.cs | |
parent | 9e0c60f26bc3c228447154f0d2f9cbeaee9c1974 (diff) |
Small refactoring of Printer.cs
Diffstat (limited to 'Source/Dafny/Cloner.cs')
-rw-r--r-- | Source/Dafny/Cloner.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Cloner.cs b/Source/Dafny/Cloner.cs index f13aa2f4..be77f6b4 100644 --- a/Source/Dafny/Cloner.cs +++ b/Source/Dafny/Cloner.cs @@ -243,7 +243,7 @@ namespace Microsoft.Dafny var e = (LiteralExpr)expr;
if (e is StaticReceiverExpr) {
var ee = (StaticReceiverExpr)e;
- return new StaticReceiverExpr(e.tok, CloneType(ee.UnresolvedType));
+ return new StaticReceiverExpr(e.tok, CloneType(ee.UnresolvedType), ee.IsImplicit);
} else if (e.Value == null) {
return new LiteralExpr(Tok(e.tok));
} else if (e.Value is bool) {
|