-
### Description
```nim
type ArrayBuf*[N: static int, T] = object
buf: array[N, T]
func maxLen(T: type): int =
sizeof(T) * 2
type MyBuf[I: type] = ArrayBuf[maxLen(I), byte]
var v: MyBu…
-
### Description
Increasing the size of a set using the size pragma causes invalid C++ code output.
```nim
type
Flags* = enum
A
B
Mask* {.size: sizeof(uint16).} = set[Fla…
-
Following example would fail with compiler error, [playground](https://play.nim-lang.org/#ix=3nHv)
```
Error: internal error: expr: param not init query_13251018
```
### Example
```nim
impor…
-
**Platform:** Seine
**Device:** xqau52
**Kernel version:** 4.14.117-perf+
**Android version:** Sony/XQ-AU52_EEA/XQ-AU52:10/59.0.A.1.296/059000A001029602956232951:user/release-keys
**Software binar…
-
## ADHOC TABLES
### adhoc_calc
Tabel yang digunakan untuk perhitungan Adhoc. Tabel ini menyimpan total Kerusakan dan Kerugian dari suatu perhitungan Adhoc.
|Field|Desc|Tipe Value|Contoh Value|
|--…
-
crash on alter table tbl add column col uint
uname -a
Linux dcn35 6.2.9-1-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.9-1 x86_64 GNU/Linux
------- FATAL: CRASH DUMP -------
[Thu Dec 21 10:42:44.891 202…
-
`CanvasCaptureMediaStreamTrack` has `mute`, `unmute`, `ended` events.
`mute` and `unmute` events of `CanvasCaptureMediaStreamTrack` are not fired under any cases or circumstances at Firefox or Nigh…
-
### Description
```
iterator demo(a: openArray[int]): int =
for k in countUp(a[0], 19):
yield 23
for k in demo(@[17]):
echo k
```
### Nim Version
Nim Compiler Version 2.2.0 [Linux: …
-
I tried to make the test case to be as small as possible (ymmv).
The code is a part of my image viewer, I kept original names.
Doing any operation on SortedFormats (see main) results in compiler err…
-
你好,我正在尝试通过TreeMap在obsidian内部进行文件导航,目前正试图让所有文件以TreeMap的形式展示,而这个过程需要文件夹名字的递归嵌套显示功能。所以我初步尝试了一下按 https://antv-g2plot-v1.gitee.io/zh/examples/treemap/rect/API 这里的第三个示例的数据绘制,里边的标签无法嵌套显示
预期:
![image](htt…