-
Notifications
You must be signed in to change notification settings - Fork 825
Skip accessibility checks for compiler-generated pattern inputs when used within the same module scope. #18426
New issue
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
Closed
Closed
Changes from 14 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bf83f71
Allows patterns to work properly with private
aa14b6c
Merge branch 'main' into fix-4161
edgarfgp 1c0b02d
Allows patterns to work properly with private
bd46376
Merge branch 'fix-4161' of github.com:edgarfgp/fsharp into fix-4161
1bdcf1a
isCompileGenerated
65769e1
Merge branch 'main' into fix-4161
edgarfgp 07a88e2
update test
392b144
Merge branch 'fix-4161' of github.com:edgarfgp/fsharp into fix-4161
404ba83
Update test
8897899
release notes
bb2e805
Merge branch 'main' into fix-4161
edgarfgp b2029aa
Merge branch 'main' into fix-4161
edgarfgp 990a802
compileExeAndRun
b8fdd5b
Merge branch 'fix-4161' of github.com:edgarfgp/fsharp into fix-4161
5016a36
better naming
f7c7ddd
Merge branch 'main' into fix-4161
edgarfgp 07b3e37
Merge branch 'main' into fix-4161
edgarfgp 2c3f055
Merge branch 'main' into fix-4161
edgarfgp b66660a
Add a couple more tests
brianrourkeboll aeac24b
Merge pull request #1 from brianrourkeboll/fix-4161-more-tests
edgarfgp 5e6d957
Merge branch 'main' into fix-4161
edgarfgp 42c7458
Merge branch 'main' into fix-4161
edgarfgp 9e14730
Merge branch 'main' into fix-4161
edgarfgp 4f50eee
Merge branch 'main' into fix-4161
edgarfgp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
15 changes: 15 additions & 0 deletions
15
tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Tuple/tuples02.fs
This file contains hidden or 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,15 @@ | ||
module PM = | ||
type PT = | ||
abstract A : int | ||
let a = { new PT with member __.A = 1 } | ||
let b, c = | ||
{ new PT with member __.A = 1 } | ||
, { new PT with member __.A = 1 } | ||
|
||
module private PM2 = | ||
type PT = | ||
abstract A : int | ||
let a = { new PT with member __.A = 1 } | ||
let b, c = | ||
{ new PT with member __.A = 1 } | ||
, { new PT with member __.A = 1 } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.