-
### Description
Consider this example:
```nim
type
Foo = object
x: int
y: int
FooPtr = object
foo: Foo
proc `=copy`*(dest: var Foo; source: Foo) {.error.}
iterator …
-
Build fails for `devel`. Works for older versions.
### Example
```
Error: internal error: getTypeDescAux(tyGenericParam)
No stack traceback available
To create a stacktrace, rerun compilation w…
-
### Xmake Version
xmake v2.9.4+dev.0d2bd1503
### Operating System Version and Architecture
Windows 10 22H2
### Describe Bug
When I build with the cosmocc toolchain, cosmocc is not found.
### Exp…
-
The manual does an artistic dodge about the push/pop rules for custom pragma:
https://nim-lang.org/docs/manual.html#pragmas-push-and-pop-pragmas
> For third party pragmas it depends on its impleme…
-
`.exportnims` was introduced in a2c040e3bd2a34bff889c22e4fb098b95b45fe53 but seems like it was never used according to `git log -i -Sexportnims`
```
commit a2c040e3bd2a34bff889c22e4fb098b95b45fe53
…
-
Calling type aliased type class through untyped template param fails.
The example shows the complete cartesian product of
- use joined or split functions for the first param, i.e. handle `L` separ…
-
```nim
import chronos # only depends on asyncloop's transitive closure
proc t(): Future[int] {.async: (raw: true, raises: [ValueError]).} =
var retFuture = newFuture[int]("")
retFuture.fa…
-
The compiler currently implicitly suggests I should box all my sends of POD types with objects so I can create null destructors (discard), which feels unnecessary. Isn't it isolated by definition?
…
-
### Description
```nim
type Obj[T] = object
proc `=destroy`[T](self: var Obj[T]) =
echo T
block:
let intObj = Obj[int]()
block:
let floatObj = Obj[float]()
```
### Nim Version
N…
-
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…