blob: 070372cdf137df2b727438156671d9c67b7ae666 [file] [log] [blame]
40 columns |
>>> Operator declaration.
class A {
bool operator == ( Object other ) => true ;
int operator + ( int other ) { return value + other ; }
int operator - ( ) { return - value ; }
}
<<<
class A {
bool operator ==(Object other) =>
true;
int operator +(int other) {
return value + other;
}
int operator -() {
return -value;
}
}