-
First of all thanks for the project. I am trying to learn Nim and what better way to try out stuff that using it with kubernetes and is how I discovered this project.
I am however stuck with the f…
-
### Description
Until a few days ago I thought it was related to #23326, but the correction for this came out and the error remains.
```nim
template test() =
when false:
proc procname(p…
-
When nim.cfg is not found (e.g. it's still /etc/nim.cfg) the compiler fails to find the stdlib:
```
nim c -r mytest.nim
Hint: system [Processing]
Hint: mytest [Processing]
mytest.nim(1, 8) Erro…
-
### Example
```nim
type
Foo = object
s: seq[int]
func makeFoo(s: seq[int]): Foo =
result.s = s
iterator fooIt(foo: static Foo): int {.inline.} =
for x in foo.s:
yield x
p…
-
### Description
Nim depends on the obsolete PCRE library, which is no longer supported with last release in 2021, and should migrate to PCRE2 library available since 2015.
I am concerned that De…
-
### Example
```nim
# strange_option.nim
import options
let a: Option[int] = none(var int)
```
### Current Output
With ``nim c strange_option.nim``:
```
Hint: used config file …
-
When running koch tools from a fresh install with VS2017/vcc enabled, linking commands emit the wrong OS path, resulting in failure to run vccexe.exe correctly.
LINK : fatal error LNK1104: cannot o…
-
```Nim
type
int128*{.importc: "__int128", size: 16.} = object
```
`Error: power of two expected`
The error seems to come from: https://github.com/nim-lang/Nim/blob/33b69f0ed0272a4792322d9a0…
-
Hi, I've installed `nake` with `nimble` and got this warning:
```
nimble install nake
Prompt: No local packages.json found, download it from internet? [y/N]
Answer: y
Downloading Official…
-
### Description
```nim
proc f(x: static[auto]) = # doesn't work
static: echo x
proc g[T](x: static[T]) = # works
static: echo x
f(3)
```
### Nim Version
```
Nim Compiler Version 1.6.10…