-
When trying to bootstrap with csource I get this error:
```
koch boot -d:release --cc:vcc --skipUserCfg --skipParentCfg
iteration: 1
bin\nim.exe c --skipUserCfg --skipParentCfg -d:nimKochBootstra…
-
Compiling with `nim c --out:hello_world main.nim` works fine, but adding the `--out:hello_world` flag to `main.nims` crashes compilation.
### Example
Contents of a `recreate.sh` shell script:
```…
-
there should be a way to generate C/C++ header files from nim, that stays in sync with nim compiler development; making it built into the compiler seems by far the easiest way to avoid replicating wha…
-
### Example
```nim
macro entity(entityType: typed) =
discard
type
RootEntity = ref object of RootObj
Player {.entity.} = ref object of RootEntity
x, y: int
```
### Current Out…
-
When nim compiler is installed systemwide (whether it's from a debian package on Ubuntu, or from an ebuild on Gentoo) attempting to `nimble install nimterop` only gets me this:
```
Error: Bui…
-
### Description
```nim
import std/macros
template p {.pragma.}
type
X {.p.} = object
Y[T] = object
t: T
echo Y[X].T
echo Y[X].T.hasCustomPragma(p)
```
### Nim Version
% nim…
-
nim c -o:app -r $git_clone_D/nim/nimLazy/lazy.nim
lazy.nim(924, 19) Error: cannot instantiate: 'S'
nim --version
Nim Compiler Version 0.18.0 [MacOSX: amd64]
Copyright (c) 2006-2018 by Andreas Rump…
-
### Description
`a.nim`:
```nim
import "."/b
type H = b.E
discard H(default(F))
```
`b.nim`:
```nim
import "."/c
export c
type
E* = object
F* = b.E
```
`c.nim`:
```nim
type E*…
-
### Description
When the type contains a self-referenced optional field then during the variable assignment (value copy takes place I believe), the field 'isSome' has a wrong value. Below are the e…
-
### What happened?
If you have a `proc` where one of the argument names is quoted, `getImpl` ignores the backquotes:
```nim
import macros
proc p(`let`:int) = discard
static:
echo bindS…
deech updated
3 weeks ago