change runnableExamples implementation; fixes #8641; fixes #7135; runnableExamples works for templates and generics
This commit is contained in:
parent
4cf704bb3e
commit
1948eadc24
5 changed files with 70 additions and 42 deletions
|
|
@ -141,7 +141,6 @@ type
|
|||
# the generic type has been constructed completely. See
|
||||
# tests/destructor/topttree.nim for an example that
|
||||
# would otherwise fail.
|
||||
runnableExamples*: PNode
|
||||
|
||||
template config*(c: PContext): ConfigRef = c.graph.config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue