We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783e001 commit 6c3d68bCopy full SHA for 6c3d68b
1 file changed
src/gc.c
@@ -159,6 +159,7 @@ static void gc(void *root) {
159
while (scan1 < scan2) { // 將 root 指向的物件從 scan1 (FROM) 搬到 scan2 (to) 去
160
switch (scan1->type) {
161
case TINT:
162
+ case TSTRING:
163
case TSYMBOL:
164
case TPRIMITIVE:
165
// Any of the above types does not contain a pointer to a GC-managed object.
0 commit comments