-
### Description
Repro:
- Create a `test.nim` file with e.g. `echo "hello"` in.
- Compile with `nim c -r --hotcodereloading:on test.nim`
- The build fails with clang errors.
### Nim Versio…
-
### Description
After creating a Nix build configuration and CI job (see https://github.com/status-im/status-desktop/issues/9350) - developers continue to build locally without Nix.
We need to c…
-
passing a typed template(Ts...) or macro(Ts... to a proc(proc(Ts..)) results in a compiler crash
### Example
```nim
when true:
template foo(x:int):int = discard
proc bar(p:proc(x:int):int) …
-
```nim
#[
KEY nim check
`nim check` doesn't report some compiler errors
nim check $timn_D/bugs/all/t0053.nim
passes (BUG!)
nim c -o:/tmp/z01 $timn_D/bugs/all/t0053.nim
t0053.nim(10, 6) Er…
-
**Description**
Range types such as `Natural` have several fundamental issues and we should probably not use them in our code base. Some reference https://status-im.github.io/nim-style-guide/language…
-
### Description
Simple version:
```nim
type
A = A | B
B = A | B
discard 0 is A
```
But it scales to where it's nontrivial to spot the cycles on observation, even with all the typeclasses…
-
I don't even know how to describe this, it's pretty weird:
### Example
```nim
type
TypeClass = uint | enum | int
ArrayAlias[I: TypeClass] = array[I, int]
proc test[I: TypeClass](points: …
-
When passing an import using the syntax:
```nim
import std / [jsonutils]
import karax / [kbase]
```
to a typed macro the first part of the import is removed resulting in this:
```nim
import jso…
-
## replication instructions
```bash
git clone https://github.com/status-im/nimbus-eth2.git
cd nimbus-eth2
git checkout unstable
make -j8 update
# replace with your own Nim build from the "vers…
-
I'm trying to create a wrapper for a library on an embedded device and I use the `--os:any` flag when compiling my code. Therefore, the `os` module is not available but `from is import parentDir` is p…