-
Notifications
You must be signed in to change notification settings - Fork 855
Wrong type accessibility error is not reported for a signature #11331
Copy link
Copy link
Labels
AI-thinks-issue-fixedArea-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingArea-Compiler-Checking-AccessibilityVisibility checks: internal, private, protected, InternalsVisibleToVisibility checks: internal, private, protected, InternalsVisibleToBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Metadata
Metadata
Assignees
Labels
AI-thinks-issue-fixedArea-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingArea-Compiler-Checking-AccessibilityVisibility checks: internal, private, protected, InternalsVisibleToVisibility checks: internal, private, protected, InternalsVisibleToBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
New
B..ctorsignature should report an error about a use of an internal type in a public member:A library containing such a signature is successfully built, and there's a runtime exception when trying to use the constructor of
B.The bug leads to exception when trying to use
ILFieldDef:fsharp/src/fsharp/absil/il.fsi
Line 1090 in 6b1af12