-
-
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
nim doc ..
fails when runnableExamples uses $
[devel] [regression]
#14485
Comments
kaushalmodi
added a commit
to kaushalmodi/Nim
that referenced
this issue
May 28, 2020
kaushalmodi
changed the title
May 28, 2020
koch docs
(nim doc lib/pure/strutils.nim
) fails [devel] [regression]nim doc ..
fails when runnableExamples uses $
[devel] [regression]
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
May 28, 2020
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
May 28, 2020
Merged
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
May 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While the recently merged PR #14439 fixed a lot of
nim doc
issues in my real world project, it has introduced a regression on devel wherenim doc
fails if a runnableExamples block has$
somewhere, like in the below example.Example
Run
nim doc t.nim
.Current Output
Expected Output
No error
Additional Information
koch docs
fails for the same reasonnim doc lib/pure/strutils.nim
(probably many more libs, as using$
in runnableExamples could be very common).By adding some debug info to the
invalidFormatString
(#14486) and the first%
proc instrutils.nim
like below:, on rebuilding nim and running
nim doc t.nim
(t.nim
is the above minimal example), I get this debug info:/cc @timotheecour
The text was updated successfully, but these errors were encountered: