-
This code errors at C compilation step
### Example
```nim
proc myMegaProc(a: string, b: seq[string] | seq[bool] = @[]) =
when a is string:
discard
elif b is seq[string]:
for x in…
-
Here are a couple errors I'm getting. On my mac, I'm getting an error on installation of `futhark`. On replit, I'm getting an error trying to use it.
# mac
I'm on macOS Monterey 12.6.3
Error…
-
Can you explain (and possibly show an example workflow) how to actually use
the new `nimble develop` and the old `nimble develop -g`?
```
$ nim --version
Nim Compiler Version 1.9.5 [Linux: amd6…
-
### Description
```nim
type
X[T, E] = object
m: T
B = X[culonglong, cstring]
S = ref object of RootObj
proc j[T, E](m: X[T, E]): T = discard
proc n(T: typedesc[SomeUnsignedInt]): X…
-
### Description
Segmentation fault encountered when cross compiling for arm(cortex-a53).
### Nim Version
Nim Compiler Version 2.1.1 [Linux: amd64]
Compiled at 2024-07-07
Copyright (c) 2006-…
-
### Description
The `callOperator` fails to bind when the usage and declaration are spread across two different files. For example:
```nim
##
## myLib.nim
##
type
Functor* = ref object
…
Nycto updated
2 weeks ago
-
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 .
-
A template can't bind to generic types in a specific combination involving `array` and `int64` when parameter are orders in one way, but not when they're reversed.
### Example
```nim
type
Foo*…
-
Something I've encountered recently while trying to share code between modules:
Across various modules I have some exported symbols which happen to have the same name. When I import these modules a…
-
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…