fix #16164, render doc comments (#16230)

* fix #16164, render doc comments

* add a test
This commit is contained in:
Miran 2020-12-02 15:36:08 +01:00 • committed by GitHub
commit c0b76ef3cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 2 deletions

View file

@ -9,6 +9,9 @@ runnableExamples:
# bug #11078
for x in "xx": discard
var someVariable*: bool ## This should be visible.
when true:
## top2
runnableExamples: