diff options
author | leino <unknown> | 2015-01-28 23:49:19 -0800 |
---|---|---|
committer | leino <unknown> | 2015-01-28 23:49:19 -0800 |
commit | 459fec4034a86b800da0e0510c73eddfb1b11ca9 (patch) | |
tree | 14764c87b6cd1788b784d39c9558df0401ccfb82 /Source/Dafny/Compiler.cs | |
parent | 9e7955e5c36e5f345adb61d072154a82c08c7059 (diff) |
Generate unique IDs hierarchically, to reduce changes to IDs when the program is modified (to help with fine-grained caching)
Diffstat (limited to 'Source/Dafny/Compiler.cs')
-rw-r--r-- | Source/Dafny/Compiler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Compiler.cs b/Source/Dafny/Compiler.cs index 7fff33c1..aabaf320 100644 --- a/Source/Dafny/Compiler.cs +++ b/Source/Dafny/Compiler.cs @@ -30,7 +30,7 @@ namespace Microsoft.Dafny { FreshIdGenerator idGenerator = new FreshIdGenerator();
static FreshIdGenerator compileNameIdGenerator = new FreshIdGenerator();
- public static int FreshId()
+ public static string FreshId()
{
return compileNameIdGenerator.FreshNumericId();
}
|