-
```nim
proc foo[A, B]: type(A.default + B.default) =
discard
```
> system.`+`: proc (x: float32, y: float32): float32{.noSideEffect.}
> ambiguous call; both system.+(x: float32, y: float32) […
-
### What happened?
Executing `nim c -r test2.nim` for the code below causes a runtime error.
```nim
import std/[streams, exitprocs]
type
Test = ref object of RootObj
strm: Stream
…
-
### Example
```nim
# nim c --gc:arc --debugger:native --cc:clang_cl --debuginfo:on a.nim
proc create(): ref int {.dynlib: "b.dll", importc.}
block:
var x = create()
echo cast[int](x) # che…
-
### Description
Example from [https://nim-lang.org/docs/hcr.html](url) compiled with the switch _-d:nimDebugDlOpen_ arg is okay, but running ./mymain throws the EM.
### Nim Version
```
demetera@de…
-
Tried with Nim 0.17.3 (head) and 0.17.2 (stable).
```nim
import sph
echo sphHash[SHA256]("hello")
```
```
0x0048c3ce in @sphInit_YOcaykWowV7adm11AQD02Q@0 () at /.nimble/pkgs/sph-0.1.1/sph.…
-
I get this error when I try using `--incremental:on`
```
Error: the compiler was not built with incremental compilation features; bootstrap with -d:nimIncremental to enable
```
Is there someth…
-
```
Error: unhandled exception: File to import not found or unreadable: spectre/src/spectre.
Parent style sheet: /root/github.com/nim-lang/nimforum/public/css/nimforum.scss [SassExc…
-
A custom `--nimbleDir` seems to be ignored when executing a user-defined task.
**Running a pre-defined task:** no packages.json in the newly created nimble directory. This is expected behaviour.
`…
-
we should allow:
`nimble --nim:pathto/nim_temp test`
should be doable now that nimble doesn't bundle nim anymore?
it avoids choosenim which has global effects (eg can break some other running pro…
-
### Description
Here is my code example:
```nim
type
ChunkObj = object
data: UncheckedArray[byte]
proc main() =
let n = offsetOf(ChunkObj, data)
echo n
assert n != 0 …