Skip to content

Commit 154e71a

Browse files
committed
integrate visualfsharp master (7)
1 parent ee29735 commit 154e71a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/tast.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ open Microsoft.FSharp.Core.CompilerServices
3535
/// Unique name generator for stamps attached to lambdas and object expressions
3636
type Unique = int64
3737
//++GLOBAL MUTABLE STATE
38-
let newUnique = let mutable i = 0L in fun () -> System.Threading.Interlocked.Increment(&i)
38+
let newUnique = let i = ref 0L in fun () -> System.Threading.Interlocked.Increment(i)
3939
type Stamp = int64
4040

4141
/// Unique name generator for stamps attached to to val_specs, tycon_specs etc.

0 commit comments

Comments
 (0)