OLD | NEW |
1 >>> | 1 >>> |
2 assert( | 2 assert( |
3 // Indexing send-sets have an argument for the index. | 3 // Indexing send-sets have an argument for the index. |
4 (selector.isIndexSet ? 1 : 0) + | 4 (selector.isIndexSet ? 1 : 0) + |
5 // Non-increment send-sets have one more argument. | 5 // Non-increment send-sets have one more argument. |
6 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? 0 : | 6 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? 0 : |
7 1) == node.argumentCount()); | 7 1) == node.argumentCount()); |
8 <<< | 8 <<< |
9 assert( | 9 assert( |
10 // Indexing send-sets have an argument for the index. | 10 // Indexing send-sets have an argument for the index. |
11 (selector.isIndexSet ? 1 : 0) + | 11 (selector.isIndexSet ? 1 : 0) + |
12 // Non-increment send-sets have one more argument. | 12 // Non-increment send-sets have one more argument. |
13 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? 0 : 1) == | 13 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? 0 : 1) == |
14 node.argumentCount()); | 14 node.argumentCount()); |
15 >>> (indent 4) | 15 >>> (indent 4) |
16 assert( | 16 assert( |
17 // Indexing send-sets have an argument for the index. | 17 // Indexing send-sets have an argument for the index. |
18 (selector.isIndexSet ? 1 : 0) + | 18 (selector.isIndexSet ? 1 : 0) + |
19 // Non-increment send-sets have one more argument. | 19 // Non-increment send-sets have one more argument. |
20 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? 0 : | 20 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? 0 : |
21 1) == node.argumentCount()); | 21 1) == node.argumentCount()); |
22 <<< | 22 <<< |
23 assert( | 23 assert( |
24 // Indexing send-sets have an argument for the index. | 24 // Indexing send-sets have an argument for the index. |
25 (selector.isIndexSet ? 1 : 0) + | 25 (selector.isIndexSet ? 1 : 0) + |
26 // Non-increment send-sets have one more argument. | 26 // Non-increment send-sets have one more argument. |
27 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) ? | 27 (ast.Operator.INCREMENT_OPERATORS.contains(op.source) |
28 0 : | 28 ? 0 |
29 1) == node.argumentCount()); | 29 : 1) == node.argumentCount()); |
OLD | NEW |