mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-12 21:38:09 +00:00
Fix error: Cannot assign to a procedure parameter
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user