mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
Imply #no_capture to all variadic parameters
This commit is contained in:
@@ -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