Skip to content

Commit 1d685c3

Browse files
committed
fix lastStamp type
accidently changed form int64 to int when fixing locking issue
1 parent 072fd54 commit 1d685c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/FSharp.Core/quotations.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ type Var(name: string, typ:Type, ?isMutable: bool) =
9494
inherit obj()
9595

9696
static let getStamp =
97-
let mutable lastStamp = -1 // first value retrieved will be 0
97+
let mutable lastStamp = -1L // first value retrieved will be 0
9898
fun () -> System.Threading.Interlocked.Increment &lastStamp
9999

100100
static let globals = new Dictionary<(string*Type),Var>(11)

0 commit comments

Comments
 (0)