-
-
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
add pragma to params of macros.newProc #11025
add pragma to params of macros.newProc #11025
Conversation
lib/core/macros.nim
Outdated
params: openArray[NimNode] = [newEmptyNode()]; | ||
body: NimNode = newStmtList(); | ||
procType = nnkProcDef; | ||
pragma: NimNode = newEmptyNode()): NimNode {.compileTime.} = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be pragmas
, plural.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean new commit or pragmas: openArray[NimNode]
?
If you mean later, should pragma be nnkIdent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All I'm saying is that parameter's name shall be pragmas
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Then, the newer commit is fixed one.
Thanks for retriggering CI.
Apart from my remark, very nice! |
b1e5472
to
a877aef
Compare
fixed. |
Failed test is related with my library |
@narimiran are we sure nimly works on devel otherwise? |
I just checked and it seems to be wonky:
I'll investigate what is going on, and if I can't reproduce it maybe we should disable it until it is consistent. (In the mean time, this can be merged) |
No description provided.