-
I often make mistakes by using `==` between two objects that I shouldn't be comparing, such as comparing a number to an array of numbers or comparing a string to a character. The `==` comparison evalu…
-
We saw some strange results while reviewing #293, so we should improve these operators and write more comprehensive tests for them.
One example: calling variant_individual_field_type() using a _share…
-
The logic in the '==' operators for URI (and its components do not seem to be correct).
https://github.com/eclipse-uprotocol/up-cpp/blob/494b3313b55aaefe5b8b0376dd761b75fa96a78a/include/up-cpp/uri/…
-
This is a great project, thank you for making this.
The only thing it's lacking is overloading of == operator. Comparing Strings can be a pain in the ass without it.
I know this might break things, …
ghost updated
9 years ago
-
Since the JSON types are extension types over `Map`, `operator==` will mostly not compare by value and will fail.
In https://github.com/dart-lang/macros/pull/60 I add an `equals` method that does w…
-
**Bug Description**
Unexpected Result with `null` in equality operator:
**To Reproduce**
```
select null=null;
```
Result: `False`
**Expected Behavior**
I guess the result should be `None…
-
error : no operator "==" matches these operands
operand types are: const xgboost::common::WQSummary::Entry == const xgboost::common::WQSummary::Entry
-
### Describe the Issue
I would suggest we remove the parenthesis from the requirements.
Change:
> At the beginning of your loop body, print the result of comparing `char` with a space (`' '`)…
-
The following example shows that the equality operator between two Measurement objects is surprizing (in a bad way):
```
import pint
ureg = pint.UnitRegistry()
m1 = ureg('42 count').plus_minus(7…
-
Dafny accepts this:
```dafny
predicate P(t: T, ts: seq)
requires t in ts
```
… but not this:
```dafny
method M(ts: seq) {
var f := t requires t in ts => false; // Error: in can only …