digitalmars.D.bugs - Object equivalence testing returns int, not bool
- Andy Friesen (5/5) Jun 25 2004 Given:
- Andy Friesen (4/10) Jun 25 2004 .... replace that 'b' with an 'a' and you'll actually get that error.
Given: Object a; bool tautology() { return a == b; } The error is "cannot implicitly convert int to bit." -- andy
Jun 25 2004
Andy Friesen wrote:Given: Object a; bool tautology() { return a == b; } The error is "cannot implicitly convert int to bit.".... replace that 'b' with an 'a' and you'll actually get that error. Whoops. -- andy
Jun 25 2004