-
```
/usr/lib/nim/dist/checksums/src/checksums/md5.nim(234, 21) template/generic instantiation of `slice` from here
/usr/lib/nim/dist/checksums/src/checksums/md5.nim(121, 10) template/generic instant…
-
nim releases (including nightlies) should also provide
* `nim_dbg` (with --stacktrace:on)
* possibly also one built with `-d:nimStackTraceOverride -d:release`, see some small performance benchmarks …
-
parseopt.getopt cannot get whitespace (`' '`) .
### Example
```nim
import parseopt
import strformat
var o = initOptParser()
for kind, key, val in o.getopt():
echo &"kind='{kind}', key='{k…
-
```
Latest version from git
$ nim -v
Nim Compiler Version 0.17.3 [Linux: amd64]
Copyright (c) 2006-2017 by Andreas Rumpf
git hash: b7e69e7cbbf6139316841bcc7c596e93ac78d994
active boot switch…
-
### Description
Program to run: Is it valid to expect that there can be a zero read call? Or should one always guard against it?
```nim
import std/streams as streams
import std/os as os
whe…
-
- [ ] D20200408T182006 headless mode test code that requires a browser (ie nim js without -d:nodejs)
eg: https://github.com/nim-lang/Nim/pull/12531#discussion_r403816894
## links
https://develope…
-
Given the following file `test.nim`:
``` nimrod
proc pretty_test*() = echo "bikeshedding"
pretty_test()
```
And its companion file `test.nim.cfg`:
``` sh
o="test.exe"
```
Running the …
-
### Description
I allocated 10 bytes of memory, one byte occupied by the `dummy` field.
```nim
type
ChunkObj = object
data: UncheckedArray[byte]
proc alloc(size: int): ref ChunkObj =
…
-
### Description
```nim
iterator p(): int =
when nimvm:
yield 0
else:
yield 0
block:
for k in p():
func e() {.closure.} = discard
static:
for k in p():
func e() …
-
Often it is handy to manage the compiler using `nimble`. This can improve reproducibility of the builds and make the projects more self contained. I spent some time looking into the code and it seems …