-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression: docgen drops enum doc comments #15702
Comments
From what I can tell, it seems that the comments disappear if the item involved is an enum (although there may be other cases). Here's a test file: type Point* = object
## A coord pair.
x*: int ## The x coord
y*: int ## The y coord
type Shapes* = enum
## Some shapes.
Circle, ## A circle
Triangle, ## A three-sided shape
Rectangle ## A four-sided shape
proc example*() =
## An example proc.
runnableExamples:
discard 1 + 1 ## Some math
discard "hello!" ## A string
discard Upon running |
git bisect finds this:
so nimdoc logic needs to be updated after #14048 /cc @cooldome notefor future reference, here's my git bisect command to find this:
(adapt as needed) |
Check out http://nim-lang.github.io/Nim/io.html:
On 1.2.8
The text was updated successfully, but these errors were encountered: