-
Couldn't load subscription status.
- Fork 833
Closed
Copy link
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-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
Description
Struct optional parameter with caller info attributes will fails in type check.
Repro steps
Sample code:
open System.Runtime.CompilerServices
type Ab() =
static member aa ([<CallerMemberName; Struct>]?b: string) =
bExpected behavior
Can successfully be compiled.
Actual behavior
Provide a description of the actual behaviour observed.
Known workarounds
Do not use struct optional parameter.
Metadata
Metadata
Assignees
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-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
Projects
Status
Done
