-
> Life has a melody, Gaius. A rhythm of notes that become your existence once
> they're played in harmony with God's plan. Come. See the face of the shape of things to come.
> -- "6" fr…
-
### Description
The following simple program fails to compile at the C compilation stage. No errors at the nim compilation stage are shown:
```nim
proc dummy*[T: SomeNumber](a: T, b: T = 2.5): T …
-
The following setup works:
_a.nim_
``` nim
template foo*() = discard
```
_b.nim_
``` nim
template bar*() = foo()
```
_c.nim_
``` nim
import a, b
bar()
```
However, if we replace the template `…
-
All the examples I try give the following error:
```neo/dense.nim(90, 14) Error: undeclared identifier: 'shallowCopy'```
I am using Nim Compiler Version 1.9.1 .
-
### Description
Object destructor not called when reassigning after a `try-except` block.
Minimal example:
```nim
import std/os
type MyObj = object
data: pointer
size: int
proc…
-
Unhandled sysFatal from top level scope can crash the repl:
```
%zsh> inim
👑 INim 0.6.1
Nim Compiler Version 1.6.0 [Linux: amd64] at /usr/bin/nim
nim> var s = newSeq[int](5)
nim> s[5] = 42
fa…
-
In [this project](https://gitlab.com/itmuckel/mex) I get suggestions for `components.nim` and `engine.nim`, but not for `mex.nim`.
I debugged this for an hour now, but cannot find the place where i…
-
C codegen error when using `Option[lent int]`
### Example
```nim
{.experimental: "views".}
import options
var a = [1, 2, 3, 4]
let o: Option[lent int] = some(a[0])
```
### Current Outpu…
-
Received via email:
> Appreciate for provide such useful high level lang to assembly preview tool to public.
> Currently, there is only x86 architecture for NIM compiler.
> Is it possible to add …
-
### Example
Demo: try https://github.com/codehz/xmlio/blob/0d5633937f375b998276d552d0244f14f252755c/tests/test_complex.nim (download full project at first)
```
nim c --gc:arc test_complex.nim
```
…