dotnet / dotnet/vblang

[Proposal] De-Restricted Operators.

Open
#26 5 comments 0 reactions 0 assignees View on GitHub
Discussion
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

[(Ported from Roslyn repo)](https://github.com/dotnet/roslyn/issues/12971)

## VB Proposal: De-Restricted Operators.

Proposal to remove the restriction on some operators to be defined in compliment pairs.
[Link To Proposal](https://github.com/AdamSpeight2008/Ideas/blob/master/Derestricted%20Operators.md)

**Example**

``` vb
Public Shared Operator <( x As Foo, y As Foo ) As Boolean
End Operator
'' The compliment operator =>( x As Foo, y As Foo ) As Boolean not defined.
```

**Addition**
I think that the unary complement operators `IsTrue` and `IsFalse` should remain as is.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.