summaryrefslogtreecommitdiff
path: root/Source/Dafny/Compiler.cs
diff options
context:
space:
mode:
authorGravatar leino <unknown>2015-01-28 23:49:19 -0800
committerGravatar leino <unknown>2015-01-28 23:49:19 -0800
commit459fec4034a86b800da0e0510c73eddfb1b11ca9 (patch)
tree14764c87b6cd1788b784d39c9558df0401ccfb82 /Source/Dafny/Compiler.cs
parent9e7955e5c36e5f345adb61d072154a82c08c7059 (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.cs2
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();
}