-
### Description
With procs you have the feature that you can assign default values to their parameters.
`proc someProc(x: int = 5)` is a valid proc, which uses `5` as a parameter value if the para…
-
I set `--cc:vcc` to build and link nim program on windows 10, but I cannot pass `--passL:-libpath:xxx` to nim to link library.
```console
>nim c --cc:vcc -d:release --nimcache:build\.gens\test\win…
-
I tried to compile example_01_basic_app.nim , it gave me error:
Traceback (most recent call last)
d:\Programming\Nim\NiGui-master\examples\example_01_basic_app.nim(6) example_01_basic_app
…
-
A macro generating a function fails with `got: but expected: `.
### Example
```nim
import macros
type MyModel[T] = object
discard
macro network*(): untyped =
let underlyingType…
tsoj updated
2 months ago
-
When I'm editing nim source file in vs code, I'm getting frequent "Request textDocument/codeAction failed.", "Request textDocument/inlayHint failed." or "Request textDocument/documentSymbol failed." p…
-
Compiler output:
nim c -r examples\nuklear_nim_examples\glfw3_opengl3.nim
....
gcc.exe: error: C:\Users\user\nimcache\glfw3_opengl3_d\bind.c.o: No such file or directory
-
## Background:
```
nim --version
Nim Compiler Version 2.0.2 [MacOSX: amd64]
Compiled at 2023-12-21
Copyright (c) 2006-2023 by Andreas Rumpf
```
## Failing source:
``` nim
# See https:/…
-
### Description
```nim
{.compile: "foo.c".}
```
where the contents of `foo.c` don't matter, but as an example, let it be an empty file:
```
$ touch foo.c
$ wc -l foo.c
0 foo.c
```
Clear N…
-
After following the instructions to build godot nim-stub, i get the following error:
`NimRL\src\fpscounter.nim(5, 17) Error: cannot open file: godotapi/engine
Tip: 4 messages have been supp…
-
### Xmake Version
2.9.4+20240729
### Operating System Version and Architecture
Ubuntu 22.04.3 LTS x86_64
### Describe Bug
Setting zig as a default toolchain for entire script and including a cmak…