Found and fixed a memory leak in the rope strings
Also fixed a bit manipulation error in the GC.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
|
||||
/*
|
||||
fn swap(a, b) {
|
||||
return b, a;
|
||||
}
|
||||
@@ -10,4 +10,10 @@ var c;
|
||||
var d;
|
||||
|
||||
//BUG: still causes a segfault
|
||||
c, d = swap(a, b);
|
||||
c, d = swap(a, b);
|
||||
|
||||
*/
|
||||
|
||||
|
||||
{ var str = "Hello"; var i = 0; while (i < 10_000) { str = str .. " World"; i++; } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user