123456789101112131415161718192021222324252627 |
- discard """
- nimout: '''
- hah
- hey
- hey
- hah
- '''
- """
- # non-generic
- proc foo(s: string) =
- static: echo "hah"
- echo s
- static: echo "hey"
- foo("hoo")
- # nullary generic
- proc bar[](s: string) =
- static: echo "hah"
- echo s
- static: echo "hey"
- bar("hoo")
|