-
When compiling to wasm with emscripten, we get undeclared `Tm` when importing `std/times`. My understanding is that it should only be defined for Windows targets. This compilation error also h…
-
### Example
```nim
import options, macros
macro typedTree(n: typed): untyped =
result = n
echo treeRepr n
proc foo(x = none(Natural)) {.typedTree.} = discard
```
### Current Output
…
-
Hardly worth leaving an issue for this as it is inherently unsolvable with a regex-based approach
```none
$ inim
👑 INim 0.6.1
Nim Compiler Version 1.4.0 [MacOSX: amd64] at /usr/local/bin/nim
nim>…
-
I tested a small program from the forum that implements SSE (server side event) and works well.
But when I close the browser, the server continues to send the response to the client. Does the isclose…
-
### What happened?
With this code snippet
```nim
type
Obj = object
s: string
case b: bool
of false: discard
of true:
v: int
a: UncheckedArray[char]
var o: …
-
### Description
Code below would crush compiler, [play](https://play.nim-lang.org/#ix=4ssb)
```Nim
echo ("div", "#post", [])
```
### Nim Version
Nim Compiler Version 1.6.12 [MacOSX: amd6…
-
I have installed this plugin on my Ubuntu 20.04 machine by adding ``Plug 'alaviss/nim.nvim'``
into ./config/nvim/init.vim file, followed by running ``nvim`` and ``:PlugInstall``.
The Nim language …
-
Invoking generic procedure that uses varargs implicit conversion breaks.
### Example
`a.nim`
```nim
proc convert(arg: HSlice): string = discard
proc implicitConvert(args: varargs[string, conv…
-
I was trying to compile some Nim code using cosmocc, and it turns out the generated C code can't be compiled due to errors like this:
```
@snim@slib@ssystem.nim.c:1055:18: error: ‘__stderrp’ undec…
-
### Example
```nim
import std/deques
type
Test = object
proc `$`(x: Test): string = ""
echo [Test(), Test()].toDeque
```
### Current Output
```
[]
```
### Expected Output
```
…