From 391245002f17bbbf8a49888088e48b2230a1f46f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 2 Aug 2026 09:51:35 +0200 Subject: [PATCH] Explicit parameter shadow is required --- src/file/file.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/file/file.odin b/src/file/file.odin index c5d0037..3728b33 100644 --- a/src/file/file.odin +++ b/src/file/file.odin @@ -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 {