fix #21251 Compiler SIGSEGV when using SharedTable (#21876)

fix #21251

(cherry picked from commit 76a98fee65)
This commit is contained in:
Bung
2023-05-23 15:39:44 +08:00
committed by narimiran
parent c4380107d6
commit 173a15b370
5 changed files with 15 additions and 8 deletions

6
tests/stdlib/t21251.nim Normal file
View File

@@ -0,0 +1,6 @@
import std / [tables, sets, sharedtables]
var shared: SharedTable[int, int]
shared.init
shared[1] = 1