-
-
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
=destroy
for non-var failed to compile when nim doc
#23726
Labels
Documentation Generation
Related to documentation generation (but not content).
Needs Backporting/Fixed in Devel
The issues can be solved via backporting
Comments
As I tested, at least no error in Nim 2.1.1, 2.0.0, 2.0.4 |
!nim doc type O = object
proc `=destroy`*(self: O) = discard |
🐧 Linux bisect by @litlighilit (contributor)devel 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
ASTstable 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST2.0.4 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST2.0.0 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.6.20 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.4.8 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.2.18 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
AST1.0.10 👎 FAILOutput
IRCompiled filesize0 (0 bytes)
Stats
ASTStats
🤖 Bug found in |
I think theres no "!nim doc" in the bisect bot, I don't know what it should do 🤔 |
juancarlospaco
added
the
Documentation Generation
Related to documentation generation (but not content).
label
Jun 17, 2024
litlighilit
referenced
this issue
in nimpylib/pylib
Jun 18, 2024
ringabout
added
the
Needs Backporting/Fixed in Devel
The issues can be solved via backporting
label
Jul 8, 2024
...haven't been fixed on 2.0.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Documentation Generation
Related to documentation generation (but not content).
Needs Backporting/Fixed in Devel
The issues can be solved via backporting
Description
A regression, maybe only occur in Nim 2.0.6, not in devel branch or 2.0.4
only causes compile-error when
nim doc
and other commands like
nim c
ornim check
just work.Simplest demo:
Nim Version
Nim Compiler Version 2.0.6 [Windows: amd64]
Compiled at 2024-06-17
Copyright (c) 2006-2023 by Andreas Rumpf
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
I found it shown on nimpylib's test
The text was updated successfully, but these errors were encountered: