From 4491da4c4d090406987650ffd6eb7cea5ded9a19 Mon Sep 17 00:00:00 2001 From: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Date: Fri, 4 Nov 2022 13:32:41 +0100 Subject: [PATCH] Support doc comments in new-styled concepts (#20752) Support comments in new-styled concepts --- compiler/concepts.nim | 2 ++ tests/concepts/t20237.nim | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 tests/concepts/t20237.nim diff --git a/compiler/concepts.nim b/compiler/concepts.nim index 89a2bdc109..628e1d4be0 100644 --- a/compiler/concepts.nim +++ b/compiler/concepts.nim @@ -61,6 +61,8 @@ proc semConceptDecl(c: PContext; n: PNode): PNode = for i in 0..