(a, b, bIndex, parent)
| 141250 | return bAssignmentDeclarationKind === 0 /* AssignmentDeclarationKind.None */ ? false : true; |
| 141251 | } |
| 141252 | function tryMerge(a, b, bIndex, parent) { |
| 141253 | // const v = false as boolean; |
| 141254 | if (tryMergeEs5Class(a, b, bIndex, parent)) { |
| 141255 | return true; |
| 141256 | } |
| 141257 | if (shouldReallyMerge(a.node, b.node, parent)) { |
| 141258 | merge(a, b); |
| 141259 | return true; |
| 141260 | } |
| 141261 | return false; |
| 141262 | } |
| 141263 | /** a and b have the same name, but they may not be mergeable. */ |
| 141264 | function shouldReallyMerge(a, b, parent) { |
| 141265 | if (a.kind !== b.kind || a.parent !== b.parent && !(isOwnChild(a, parent) && isOwnChild(b, parent))) { |
no test coverage detected