summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2023-07-06 16:18:47 +1000
committerGitHub <noreply@github.com>2023-07-06 08:18:47 +0200
commit7616e6ee2b48a3c3504684f3324a42e95bd73790 (patch)
treea275aa09625c499509e3f59c4211aedbfd849f32 /tools
parent145e002c74c4393b9ac71d5a8cfe066fbf38a048 (diff)
downloadNim-7616e6ee2b48a3c3504684f3324a42e95bd73790.tar.gz
Fix concepts with doc comments (#22228)
* Add testcase

This tries to use a concept with a doc comment which currently leads to a segfault

* Ignore nil nodes which happen when there are doc comments in new style concept

This was done instead of semming the comments since `semConceptDecl` says it only supports lists of actual statements

* Go with alternative fix: Sem comments but ignore them

Since `nil` could mean anything it is best to not silently ignore it (In case another nil problem happens in future

Also fix test case so it isn't an infinite loop
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions