-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix and tests for #122 - no .volatile emitted on stfld
fixes #122 closes #144 commit f138b61 Author: Don Syme <dsyme@microsoft.com> Date: Thu Jan 29 12:19:37 2015 +0000 enable codegen as smoke tests commit 20b1e81 Author: Don Syme <dsyme@microsoft.com> Date: Thu Jan 29 12:18:26 2015 +0000 update baselines for tests commit b43c327 Merge: 4a83340 d17d429 Author: Don Syme <dsyme@microsoft.com> Date: Thu Jan 29 11:59:17 2015 +0000 Merge branch 'fsharp4' of http://github.com/Microsoft/visualfsharp into fix-122 commit 4a83340 Author: Don Syme <dsyme@microsoft.com> Date: Thu Jan 29 10:17:43 2015 +0000 NOP commit to run appveyor commit 2fb9f57 Author: Don Syme <dsyme@microsoft.com> Date: Tue Jan 27 17:44:49 2015 +0000 fix and tests for #122 - no .volatile emitted on stfld
- Loading branch information
Showing
8 changed files
with
336 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/fsharpqa/Source/CodeGen/EmittedIL/Mutation/Mutation05.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// #Regression #NoMono #NoMT #CodeGen #EmittedIL | ||
type C() = | ||
[<VolatileFieldAttribute>] | ||
let mutable x = 1 | ||
|
||
member this.X with get() = x and set v = x <- v | ||
|
||
|
||
type StaticC() = | ||
[<VolatileFieldAttribute>] | ||
static let mutable x = 1 | ||
|
||
static member X with get() = x and set v = x <- v |
Oops, something went wrong.