blob: 678575271b61102836ef1fa1144b4bed574871b3 [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;
}
}