-
This bug is very specific. I don't why it happens, but it happens. The `Rectangle` is a struct from C. Using the equivalent definition in Nim don't have this bug.
### Example
(clone this with gi…
-
``` nim
type vec4[T] = distinct array[4, float32]
proc `[]`(v: vec4, i: int): float32 {.borrow.} # Error: no symbol to borrow from found
proc `[]=`(v: vec4, i: int, va: float32) {.borrow.}
var v: ve…
-
compiling https://github.com/nim-lang/Nim/blob/master/tests/async/tasync_traceback.nim, the async code gets transformed into a state machine - in this state machine, there are two issues with the gene…
-
If I use code-blocks like here:
![Plug-in-Issue-04-code-block](https://user-images.githubusercontent.com/13079745/147889668-7e3ae6c1-832d-4f0a-b30e-7b5cf4a6c393.png)
It will be showing up like her…
-
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…
-
edit: see my comment below. I was a confused person yesterday. There's no bug here.
~~While working on the fix for #12015, I stumbled on another bug.~~
When defining a custom `%` proc to…
-
I was trying to optimize extremely performance sensitive big integer / cryptographic code where somehow I couldn't reach the speed of other Assembly implementations.
It turned out I was initializin…
-
[`listFiles`](https://nim-lang.org/docs/nimscript.html#listFiles%2Cstring) will silently return no items if the path specified does not exist, this can make it seem like a command has worked when it i…
dom96 updated
4 years ago
-
`{.Warning.}` and `{.Hint.}` pragmas that are declared inside std lib modules are ignored and not displayed to the user when compiling.
The same pragmas in user code display correctly during compil…
-
(Consider writing a PR targetting devel branch after filing this, see [contributing.html](https://nim-lang.github.io/Nim/contributing.html)).
Function ```connectUnix``` uses ```connect``` defined i…