| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 class Operators { |
| 6 operator +(other) => null; |
| 7 operator &(other) => null; |
| 8 operator ~() => null; |
| 9 operator |(other) => null; |
| 10 operator ^(other) => null; |
| 11 operator /(other) => null; |
| 12 operator ==(other) => null; |
| 13 operator >(other) => null; |
| 14 operator >=(other) => null; |
| 15 operator [](index) => null; |
| 16 void operator []=(index, value) {} |
| 17 operator <<(other) => null; |
| 18 operator <(other) => null; |
| 19 operator <=(other) => null; |
| 20 operator *(other) => null; |
| 21 operator %(other) => null; |
| 22 operator >>(other) => null; |
| 23 operator -(other) => null; |
| 24 operator ~/(other) => null; |
| 25 operator -() => null; |
| 26 } |
| 27 |
| 28 main(arguments) { |
| 29 var a = new Operators(); |
| 30 var b = new Operators(); |
| 31 a + b; |
| 32 a & b; |
| 33 ~a; |
| 34 a | b; |
| 35 a ^ b; |
| 36 a / b; |
| 37 a == b; |
| 38 a > b; |
| 39 a >= b; |
| 40 a[0]; |
| 41 a[0] = b; |
| 42 a << b; |
| 43 a < b; |
| 44 a <= b; |
| 45 a * b; |
| 46 a % b; |
| 47 a >> b; |
| 48 a - b; |
| 49 a ~/ b; |
| 50 -a; |
| 51 } |
| OLD | NEW |