Skip to content

Commit 84e9c84

Browse files
committed
Merge branch 'extend'
2 parents 8761982 + 6c3d68b commit 84e9c84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/gc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ static void gc(void *root) {
159159
while (scan1 < scan2) { // 將 root 指向的物件從 scan1 (FROM) 搬到 scan2 (to) 去
160160
switch (scan1->type) {
161161
case TINT:
162+
case TSTRING:
162163
case TSYMBOL:
163164
case TPRIMITIVE:
164165
// Any of the above types does not contain a pointer to a GC-managed object.

0 commit comments

Comments
 (0)