diff options
author | Rustan Leino <leino@microsoft.com> | 2011-05-25 22:14:28 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2011-05-25 22:14:28 -0700 |
commit | daba6b774c3f945de58229f28078e8dccaaec782 (patch) | |
tree | 944cb474649574039164c4736bc3e705e6181fd4 /Source/Dafny/Compiler.cs | |
parent | f7877ab8f223dcf3ea37ddc8a0b588316eb451a5 (diff) |
Dafny: cleaned up parser, moved foreach statement from AssignStmt<> parsing to UpdateStmt, automatically infer ghosts when local variables are introduced with a call RHS
Diffstat (limited to 'Source/Dafny/Compiler.cs')
-rw-r--r-- | Source/Dafny/Compiler.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Dafny/Compiler.cs b/Source/Dafny/Compiler.cs index c73b51a1..fdab9ab9 100644 --- a/Source/Dafny/Compiler.cs +++ b/Source/Dafny/Compiler.cs @@ -855,10 +855,6 @@ namespace Microsoft.Dafny { void TrCallStmt(CallStmt s, string receiverReplacement, int indent) {
Contract.Requires(s != null);
- foreach (VarDecl local in s.NewVars) {
- TrVarDecl(local, false, indent);
- }
-
Contract.Assert(s.Method != null); // follows from the fact that stmt has been successfully resolved
Indent(indent);
if (receiverReplacement != null) {
|