op_Implicit doesn't work with the pipe operator
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description

````
type CompilerHelper =
{
// Define the properties of CompilerHelper
Name: string
Code: string
}
// Define the implicit conversion operator
static member op_Implicit(helper: CompilerHelper) : CompilationUnit =
{
UnitName = helper.Name
SourceCode = helper.Code
}
and CompilationUnit =
{
// Define the properties of CompilationUnit
UnitName: string
SourceCode: string
}
// Example usage
let verifyCompilation (compilation: CompilationUnit) = printfn "${compilation}"
let helper = { Name = "Example"; Code = "let x = 42" }
let b = verifyCompilation helper
let c = helper |> verifyCompletion
````
Contributor guide
Assessment
This issue has not been assessed yet.