docs: static AbstractConfigValue makeReplacement(ResolveContext context, List<AbstractConfigValue> stack, int skipping) {
          List<AbstractConfigValue> subStack = stack.subList(skipping, stack.size());
  
          if (subStack.isEmpty()) {
              if (ConfigImpl.traceSubstitutionsEnabled())
                  ConfigImpl.trace(context.depth(), "Nothing else in the merge stack, replacing with null");
              return null;
          } else {
              // generate a new merge stack from only the remaining items
              AbstractConfigValue merged = null;
              for (AbstractConfigValue v : subStack) {
                  if (merged == null)
                      merged = v;
                  else
                      merged = merged.withFallback(v);
              }
              return merged;
          }
      }