-
### Example
```nim
import rationals
type
Tile[n: enum] = array[n, int]
Map[w, h: static int, n: enum] = array[w, array[h, Tile[n]]]
TileId = int
Coord = tuple[x, y: int]
…
-
This is a issue to track the development of the [Nim](https://github.com/nim-lang/Nim) compiler shard for BinaryBuilder in Yggdrasil.
Nim supports cross compilation in two ways:
1) Using [comma…
-
The compiler crashes when you try to output seq[string] from `quote do` block created in a macro
### Example
```nim
import macros
macro command*(cmds: varargs[string], body: untyped): untyped …
-
### Description
```nim
type
Xable = concept
proc x(y: Self): int
A[T: Xable] = tuple
foo: T
B*[T: Xable] = object
a: A[T]
```
### Nim Version
Nim Compiler Version 2.0.8 [L…
-
### Description
Given the following code:
```nim
type
foo*[A] = object
bar*[T] = foo[T]
echo sizeof(foo)
echo sizeof(bar)
```
the compiler crashes with the message:
> Error: int…
-
## Basic information
build machine:
- architecture: x86_64
- OS: Ubuntu 22.04 LTS
target machine:
- architecture: x86_64
- OS: Windows
`nim --version`:
```
Nim Compiler Version 2.1.1 [L…
-
### Description
When recompile code with changing build mode without changing code 3 times, third rebuild doesn't update the executable file.
Example code to see build mode.
testbuild.nim:
```nim
…
-
**Code**
```nim
==> Foo.nim BarA.nim BarB.nim Main.nim
-
### 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…
-
Does it also make sense to have LSP-nimlangserver (and sublime lsp) installed, too? To what extent does this overlap with NimPlus?