code: function shouldReallyMerge(a, b) {
                  return a.kind === b.kind && (a.kind !== 225 /* ModuleDeclaration */ || areSameModule(a, b));
                  // We use 1 NavNode to represent 'A.B.C', but there are multiple source nodes.
                  // Only merge module nodes that have the same chain. Don't merge 'A.B.C' with 'A'!
                  function areSameModule(a, b) {
                      if (a.body.kind !== b.body.kind) {
                          return false;
                      }
                      if (a.body.kind !== 225 /* ModuleDeclaration */) {
                          return true;
                      }
                      return areSameModule(a.body, b.body);
                  }
              }
docs: a and b have the same name, but they may not be mergeable.