Fix error: Cannot assign to a procedure parameter

This commit is contained in:
streof
2021-07-09 14:03:49 +02:00
parent 2c71494ad1
commit 114efbc57c
+1
View File
@@ -26,6 +26,7 @@ ring_prev :: proc(r: ^$R/Ring) -> ^R {
ring_move :: proc(r: ^$R/Ring, n: int) -> ^R {
r := r;
if r.next == nil {
return ring_init(r);
}