New Issue: chpldoc: private use causes empty documentation for following function

20005, "benharsh", "chpldoc: private use causes empty documentation for following function", "2022-06-15T00:04:20Z"

Summary of Problem

A private use can result in documentation output being discarded for the function immediately following the private use.

Steps to Reproduce

Source Code:

module M {

  private use IO;

  /* Can you see me? */
  proc helloWorld() {
    writeln("Hello, world!");
  }

  /* This is definitely visible */
  proc fantasticFunction() {
    return 42;
  }

}

At the time this issue was filed, the generated .rst will be missing the text "Can you see me? ".

Associated Future Test(s):
test/chpldoc/functions/privateUseBug.chpl