(l: string, r: string)
| 241 | |
| 242 | // children after other values, in order of precedence |
| 243 | export const compareInnerKeys = (l: string, r: string): number => |
| 244 | isNodeKind(l) ? |
| 245 | isNodeKind(r) ? precedenceOfKind(l) - precedenceOfKind(r) |
| 246 | : 1 |
| 247 | : isNodeKind(r) ? -1 |
| 248 | : l < r ? -1 |
| 249 | : 1 |
| 250 | |
| 251 | // a label names a value in its messages, which an empty one can't: written |
| 252 | // before "must be", it would leave the message starting with a space and a |
no test coverage detected