fsharp / fsharp/fslang-suggestions
Add "complement" and "logicalNot" operators to resolve the confusion with "~~~"
- Dominant language
- No language data
- Stars
- 373
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
**Submitted by Don Syme on 8/4/2015 12:00:00 AM**
**1 votes on UserVoice prior to migration**
When used on user-defined types, the ~~~ operator resolves to op_LogicalNot rather than the expected op_OnesComplement. See https://github.com/Microsoft/visualfsharp/issues/457#issuecomment-104900399 for a workaround.
This should be fixed FSharp.Core. An attempt to fix this transparently failed, see https://github.com/Microsoft/visualfsharp/pull/458.
A plan to address this going forward is at https://github.com/Microsoft/visualfsharp/pull/458#issuecomment-127711336 but will require an update to FSharp.Core.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.