mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
@@ -1,4 +1,4 @@
|
||||
import macros
|
||||
import std/macros
|
||||
|
||||
block: # hasArgOfName
|
||||
macro m(u: untyped): untyped =
|
||||
@@ -7,3 +7,6 @@ block: # hasArgOfName
|
||||
doAssert not hasArgOfName(params u,"nonexistent")
|
||||
|
||||
proc p(s: string; i,j,k: int; b: bool; xs,ys: seq[int] = @[]) {.m.} = discard
|
||||
|
||||
block: # bug #17454
|
||||
proc f(v: NimNode): string {.raises: [].} = $v
|
||||
|
||||
Reference in New Issue
Block a user