Imply #no_capture to all variadic parameters
This commit is contained in:
1 parent
891cf54b5c
commit
8642d719f0
25 files changed
+125
-117
No files matched your search
@@ -250,7 +250,7 @@ error :: proc(s: ^Scanner, msg: string) {
|
||||
}
|
||||
}
|
||||
|
||||
errorf :: proc(s: ^Scanner, format: string, #no_capture args: ..any) {
|
||||
errorf :: proc(s: ^Scanner, format: string, args: ..any) {
|
||||
error(s, fmt.tprintf(format, ..args))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user