diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-09-02 22:56:26 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-09-02 22:56:26 +0200 |
commit | 1948eadc24c8964b581240dc841e4eb369a1ad36 (patch) | |
tree | 5c9950326820b1ec845f4041c60ef14ed3abef8c /compiler/docgen2.nim | |
parent | 4cf704bb3e26e002c5ff479a01fffcd3e33f1cb2 (diff) | |
download | Nim-1948eadc24c8964b581240dc841e4eb369a1ad36.tar.gz |
change runnableExamples implementation; fixes #8641; fixes #7135; runnableExamples works for templates and generics
Diffstat (limited to 'compiler/docgen2.nim')
-rw-r--r-- | compiler/docgen2.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/docgen2.nim b/compiler/docgen2.nim index 068c47bb3..aa61dbd27 100644 --- a/compiler/docgen2.nim +++ b/compiler/docgen2.nim @@ -30,6 +30,7 @@ template closeImpl(body: untyped) {.dirty.} = body try: generateIndex(g.doc) + testExamples(g.doc) except IOError: discard |