-
It would be helpful to have a Nix flake for this package. The most basic version would just include a build shell, but a a more advanced version would also include a full derivation and also a NixOS s…
-
Hi, thanks for sharing this tool!
I just wanted to try it, but I get the following error when I try to compile it on macOS:
```sh
nim c --threads:on --app:lib -d:danger --opt:speed -d:nimStrict…
-
### Example
```nim
when true:
var a = {0,1} # works
static: echo a.type # set[range 0..65535(int)]
proc foo[T](a: T, b: set[T]) = discard
foo(3'u16, {0'u16,1}) # works
foo(3, {0,1}) #…
-
### Description
The following code will trigger the issue.
``` nim
iterator iterSome(): int =
proc inner1() =
let something = 6
proc inner2() =
let othersomething = someth…
-
When defining a function type MyFunc with a parameter ptr MyFunc, the compiler crashes on Linux with a segmentation fault.
### Example
```nim
type
MyFunc = proc(f: ptr MyFunc)
```
### Curr…
-
```nim
import std/[enumerate]
import malebolgia
func threadFunc(a: int): int =
a + a
proc run(inputs: openArray[int]): seq[int] =
result = newSeq[int](inputs.len)
var m = createMaster…
-
* **What is the current behaviour?**
When I compile the code below to C++ I get this error:
```sh
$ nim cpp a
Hint: used config file '/home/u/.choosenim/toolchains/nim-2.0.2/config/nim.cfg' [C…
-
### Description
Got this error:
```
fatal.nim(54) sysFatal
Error: unhandled exception: value out of range: 63156 notin -32768 .. 32767 [RangeDefect]
```
Unfortunately, I weren't a…
-
This code errors at C compilation step
### Example
```nim
proc myMegaProc(a: string, b: seq[string] | seq[bool] = @[]) =
when a is string:
discard
elif b is seq[string]:
for x in…
ghost updated
2 weeks ago
-
### Description
Mixing generic concepts with openarray leads to compiler crashes.
The compiler matches compatible concept container types with the equivalent openarry type but mishandles them.
Proc…