-
Nim Compiler Version 0.19.4 [Linux: amd64]
Fresh nimble install of reactor, had to manually clone libuv and reset to specified hash.
Upon compilation of sample program:
```
import reactor/tc…
-
Yes, we know, and it is not a real gintro issue this time :-)
For the Nim compiler, the issue is related to
```nim
import macros
macro m1(s: string): untyped =
var ProcID {.compileTime, g…
-
v.1.0.0 compiler generates lines like this in the C code:
```
#line 999999 "generated_not_to_break_here"
```
See cgen.nim `genInitCode` and `genDatInitCode`
When the generated code is run t…
-
**Test**
```nim
# Module A(1)
template test* =
assert false # L2
# Module A(2)
template test* =
block: assert false # L2
# Module B
proc main = # L8
test() # L9
main() # L12
```
…
-
Test
```nim
# Nimscript file
var i = 0
proc testInc =
try: doAssert false
except: return
finally: inc(i)
testInc()
doAssert i == 1
```
Result
```nim
stack trace: (mo…
-
The following snippet errors out with a confusing error.
### Example
```nim
import strutils
type
Tile[n: static int] = object
a: array[n, int]
Coord = tuple[x, y: int]
Ru…
-
### Example
```nim
static:
discard quote:
a and b
```
### Current Output
```
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
```
### Expected Output
compiles successf…
-
Version: 1.1.0 (installed by nimble)
Nim: 1.2.6
OS: FreeBSD 12.1 amd64/arm64
Compiler crashes trying to build `db.nim` with default options:
`SIGSEGV: Illegal storage access. (Attempt to read fr…
-
### Background
The peerIDs are currently being logged in an abbreviated form like `peerId=16U*TCnsXV` instead of `16Uiu2HAmSve7tR5YZugpskMv2dmJAsMUKmfWYEKRXNUxRaTCnsXV`. This is annoying at the tim…
-
* [minor] nimsuggest somehow transforms \n into \\x0A, not \x0A
see also [nimsuggest somehow transforms
into \\x0A, not \x0A by timotheecour · Pull Request #9599 · nim-lang/Nim](https://github.c…