-
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
```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() …
-
### Description
Any code compiled with option --gc:go fails to load garbage collector:
ArchLinux arm:
![image](https://github.com/nim-lang/Nim/assets/35996377/f21b4490-0325-42bc-a1e8-c62d68295128…
-
I ran into a problem with:
https://github.com/arnetheduck/nim-sqlite3-abi/blob/fda455cfea2df707dde052034411ce63de218453/sqlite3_abi.nim#L22-L23
In some circumstances the Nim compiler fails with an…
-
Or maybe a new `--printFiles` flag?
I'm trying to debug an error that occurs during `nimble install` with nim devel
```
Error: internal error: getTypeDescAux(tyEmpty)
No stack traceback availabl…
-
_OSX Yosemite 10.10.5
Nim Compiler Version 0.16.1 (2017-04-02) [MacOSX: amd64]_
Second time I compile a Nim program,
maybe I am doing something stupid.
Really cool project.
`make osx`
```…
rncar updated
4 years ago
-
### 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…
-
```nim
import fusion/matching
{.experimental: "caseStmtMacros".}
case [(1, 3), (3, 4)]:
of [(1, @a), _]:
echo a
else:
echo "Match failed"
```
Results in:
```
benjaminlee…
-
While installing [winim](https://github.com/khchen/winim) 3.1.1 using nimble with vcc frontend (VS 2019), C1060 error (heap exhausted) occurs at `winimx.nim`.
### Example
```
> nimble insta…
-
### Description
I found a case, where `getStackTrace()` returns the line number of the `raise` statement inside the template definition, instead of the line number of the template instantiation.
T…