-
```Nim
type
Fruit[T] = ref object of RootObj
color: T
Apple[T, U] = ref object of Fruit[T]
proc getColor[T](v: Fruit[T]): T =
v.color
proc newApple[T, U](x: T; y: U): …
-
``` nim
import ospaths
--app:lib
--define:createNimRtl
let nimDir = findExe("nim").parentDir.parentDir
setcommand "c", nimDir / "lib" / "nimrtl.nim"
```
fails:
```
Error: cannot open 'c:\dev\tmp\c…
-
Today flycheck stopped working. I did some upgrades on my system, that could be the reason.
This is the error message that is shown in the minibuffer and in ``*Messages*``
```
Error from syntax c…
-
Tried this statement: `requires "uuids >= 0.1.0, isaac >= 0.1.0"`
It produced this error:
```
Reading as ini file failed with:
Invalid section: .
Evaluating as NimScript file failed with:
Unab…
-
Installing your package with nimble 0.8.3 fails.
Error:
```Downloading https://github.com/euantorano/semver.nim using git
Info Hint: used config file '/opt/nimlang/nim/config/nim.cfg' [Conf]…
-
Hello,
I am trying to install winim with nimble and I am facing this issue:
λ nimble --verbose install winim
Reading official package list
Downloading https://github.com/khchen/winim using g…
fgd99 updated
7 years ago
-
On installing with Nim 0.16.0 and Nimble v0.8.2 on Windows 10 with Mingw-x64 setup:-
> C:\Dropbox\Private\github\appsnap>nimble install registry
> Downloading https://github.com/miere43/nim-regist…
-
I did the following (nim 0.15.3 installed):
a) git clone https://github.com/nim-lang/nimble.git d:\src\nimble
b) cd d:\src\nimble
c) nim c -d:release src\nimble.nim # compiles ok
d) cp src\ni…
-
Nim handles the generation of documentation through the `doc` and `doc2` commands. Usually, this requires some configuration parameters (e.g. `docSeeSrcUrl`), hence I had used nimscript to run the tas…
-
I just installed nimble with `koch nimble --latest` and then tried to use the package version with `nimble install nimble@#head`.
The latter command fails with
```
Downloading https://github.co…