Explicit parameter shadow is required

This commit is contained in:
Riyyi
2026-08-02 09:51:35 +02:00
parent 142e073e98
commit 391245002f
+2 -1
View File
@@ -24,7 +24,8 @@ read :: proc(path: string) -> Asset {
}
defer os.close(f)
path := strings.clone(os.name(f))
path := path // shadow parameter
path = strings.clone(os.name(f))
size, size_err := os.file_size(f)
if size_err != nil {