diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-19 14:40:29 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-19 14:40:29 -0700 |
commit | df71ecbc931f67bb24ddbd2abb5c4e8f061fc688 (patch) | |
tree | 0bf5985ddb931e10af5d85e475e9134ef5a82c52 /Source/Dafny/Compiler.cs | |
parent | fcf9093f269b924555780e60fe05e4eff9de1cf4 (diff) | |
parent | 747e2d218f49683605d52f70dbb372f37d9f304b (diff) |
Merge.
Changes that were needed included preventing the InductionRewriter from
iterating on a SplitQuantifier and using the new error reporting engine.
Diffstat (limited to 'Source/Dafny/Compiler.cs')
-rw-r--r-- | Source/Dafny/Compiler.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/Dafny/Compiler.cs b/Source/Dafny/Compiler.cs index c969ac1f..c94f7836 100644 --- a/Source/Dafny/Compiler.cs +++ b/Source/Dafny/Compiler.cs @@ -1201,13 +1201,7 @@ namespace Microsoft.Dafny { Contract.Requires(cce.NonNullElements(targs));
Contract.Ensures(Contract.Result<string>() != null);
- string s = "";
- string sep = "";
- foreach (TypeParameter tp in targs) {
- s += sep + "@" + tp.CompileName;
- sep = ",";
- }
- return s;
+ return Util.Comma(targs, tp => "@" + tp.CompileName);
}
string DefaultValue(Type type)
|