-
### Short example
```console
$ nim c src/foo.nim # success, where `foo.nim` contains `import jsony`
$ nimble lock
$ nim c src/foo.nim
```
### Current output
```text
/tmp/foo/src/foo.nim(…
-
I got a strange javascript error with my code: `SyntaxError: private fields are not currently supported`
The generated javascript function looks like:
```js
function bind_value_12246249() {
…
-
JSON should not fail if key is missing for `Option[T]` field.
Currently it fails, see example. It should work, as having missing key for `Option` is not just fine JSON, but is even more idiomatic J…
-
-
### Description
The following code compiles and runs fine unless the proc is uncommented. If it is, the error is: `Error: undeclared identifier: 'it'`. Until the [RFC#397](https://github.com/nim-lan…
-
This was a working example of FFI with Qt. And now it is broken on devel.
`config.nims`:
``` nim
mode = ScriptMode.Verbose
task build, "Build the app":
let cflags = staticExec"pkg-config --cflags …
-
It's possible to access private fields from templates used across modules. Because of Nim's semantics, field access takes precedence over proc calls using the dot operator, which makes encapsulation p…
-
```
Nim Compiler Version 0.20.2 [MacOSX: amd64]
Compiled at 2019-07-17
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: 88a0edba4b1a3d535b54336fd589746add54e937
active boot switches: -d:relea…
-
This feature is similar to the discussion here: https://github.com/nim-lang/Nim/issues/12216#issuecomment-533617340 which was for original use-case https://github.com/nim-lang/Nim/issues/12216#issue-4…
-
nimble install gintro. # nim 2.0.0, apple M2
```
/private/var/folders/s_/v3wqtfwj5cnb1x38crn2yky00000gn/T/gintrosalewski/gen.nim(1462, 27) Error: type mismatch: got 'seq[string]' for 'split(hhh,…