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) =
b
Expected 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
Type
Projects
Status
Done