-
### Description
```nim
import std/sequtils
proc foo(x: string) =
echo x & "abc"
foo(cast[string](repeat('a', 6)))
```
The error log points to this code:
```c
T3_ = rawNewString(x_…
-
I always cloned latest nim source and compiled in MSYS2+MingW64 on windows 10 64 bits. Everything is OK months ago. But now, something weired happened
1. first, the version of `nim.exe` and `nimble.e…
-
I cloned this repo. cd to exmaples/genuimacro/threads.nim, invoke `nim cpp -r threads.nim`, and got following error.
```
/Users/allendang/Downloads/wxnim/examples/genuimacro/threads.nim(7, 11) Error…
-
choosenim seems to break packages and user code when installing Nim on an M1 mac (Apple silicone, ARM64) .
The issue seems to be that choosenim compiles the nim compiler as an x86 executable. Che…
-
### Summary
Related issue which is closed: https://github.com/nim-lang/Nim/issues/8596
- Nim can be debugged with LLDB (or GDB)
- Name mangling causes UX issues with debugging in LLDB and GDB by …
-
Trying to run [example_http.nim](https://github.com/zielmicha/reactor.nim/blob/master/examples/example_http.nim) but getting
```
.nimble/pkgs/reactor-0.4.4/reactor/ipaddress.nim(292, 17) Error: typ…
-
## links
* [[WIP] fix #11457 csources2 revision is now version-controlled so we can keep updating boostrap nim version by timotheecour · Pull Request #13854 · nim-lang/Nim](https://github.com/nim-lan…
-
Visual Studio Code has a fancy built-in GUI debugger. Perhaps it could be possible to add support for debugging nim code. There are multiple articles about it: https://gist.github.com/flaviut/487be89b…
-
### Description
This code produces SIGSEGV at runtime:
```nim
type
Date = object of RootObj # no bug if not `of RootObj`
Common = object of RootObj
name: string
date: Date
Fo…
-
Arraymancer can leverage the nim compiler and term-rewriting macros to automatically detect operations that can be fused.
This is probably similar to what Tensorflow is doing with their XLA compile…