-
Notifications
You must be signed in to change notification settings - Fork 856
Problem with Applicative CEs and 'Zero' #10379
Copy link
Copy link
Closed
Labels
Area-ComputationExpressionsEnd-to-end experience for computation expressions (except async and state machine compilation)End-to-end experience for computation expressions (except async and state machine compilation)BugImpact-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
Area-ComputationExpressionsEnd-to-end experience for computation expressions (except async and state machine compilation)End-to-end experience for computation expressions (except async and state machine compilation)BugImpact-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 issues without a type.
Projects
Status
Done
Repro steps
This script works fine, but when we uncomment the
BindReturnmember it fails because it seems it doesn't use theZeromethod.Expected behavior
Compile fine with the
BindReturnmemberActual behavior
Doesn't compile with the
BindReturnmemberKnown workarounds
Add an else branch. but still looks like a regression.
Related information
F# 5.0