We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported by a user on Twitter, but they have not followed up, so I'll open it here. The below code compiles, despite the illegal access:
module A = let mutable private x = 0 module B = let test () = // let _ = A.x // accessibility error on read, as expected A.x <- 1 // but write works!
This repros at least as far back as 3.0.
The text was updated successfully, but these errors were encountered:
c5e6699
fix for private val set
c35937f
fixes #27 resolves #28 commit bf3c9b3ff6151a09dd9319e5e54d21a0edd17c31 Merge: 5eb0657 7393d92 Author: latkin <[email protected]> Date: Mon Jan 19 16:57:58 2015 -0800 Merge branch 'private-val-fix' of https://github.com/dsyme/visualfsharp into dsyme-private-val-fix commit 7393d92 Author: Don Syme <[email protected]> Date: Sat Jan 17 11:50:54 2015 +0000 add tests for val sets commit 68555a3 Author: Don Syme <[email protected]> Date: Sat Jan 17 11:38:18 2015 +0000 adjust range reported in error commit bff938f Author: Don Syme <[email protected]> Date: Sat Jan 17 11:35:08 2015 +0000 fix compile commit d2f12e4 Author: Don Syme <[email protected]> Date: Sat Jan 17 11:33:41 2015 +0000 fix for private val set
Merge pull request dotnet#27 from matthid/mailbox
18f9853
proof of race condition
No branches or pull requests
Reported by a user on Twitter, but they have not followed up, so I'll open it here. The below code compiles, despite the illegal access:
This repros at least as far back as 3.0.
The text was updated successfully, but these errors were encountered: