-
Async function causes `Error: internal error: genTypeInfo(tyNil)` during compilation to C.
### Example
```nim
import asyncdispatch
import json
type
NilType = type(nil)
Unspecifi…
-
Seems to `when nimvm` doesn't work properly with fatal pragma. See [original forum thread](https://forum.nim-lang.org/t/9214) with useful comments!
### Example
```nim
template gen_str_in_ct_1: s…
-
### Description
The `nre.replace` doesn't takes into account `maxsplit = 1` and splits into 3 parts, [play](https://play.nim-lang.org/#ix=4xAN)
```Nim
import std/nre
echo "1.2.3".split(re"\.", m…
-
## links
D20201216T123530
eg:
```
nim c -r -d:case1 --listfullpaths:off $timn_D/tests/nim/all/t11521.nim
t11521.nim(5, 1) template/generic instantiation from here
t11521.nim(10, 14) Error: exp…
-
Heya, i just tried this with the current Nim versions on GitHub (in both the master branch and devel branch), but I'm getting this error:
```nim
/data/data/com.termux/files/home/nim-new-backend/Nim/…
-
Given that I was playing around and noticed it:
I was unable to compile any of the examples. Sporadically I tested
```nim
import weave
func initialize(buffer: ptr UncheckedArray[float32], len…
-
### What happened?
Got a compiler SIGSEGV after replacing one identifier with another for the js backend. The illegal access is from the new identifier's `.typ` being nil.
This is as minimal as I …
-
### Description
Posting this so I don't forget, it might have been documented already. This appears to sigsev the compiler on a version before #23869 and now infinitely recurses. I guess that means…
-
### Description
I get a C compiler error when trying to compile this code with `nim c main.nim`:
```nim
proc evaluate*(params: int) =
discard
proc evaluate*() =
discard
type SearchI…
tsoj updated
5 months ago
-
Hello again. Could you please help me out with this error message?
It shows up in the Nim console:
```
index.html#loaded:53:4: CONSOLE JS ERROR ReferenceError: Can't find variable: api
```
Code…