mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
cast(Type)expr; Fix overloaded procedure determination on assignment
This commit is contained in:
+1
-3
@@ -363,9 +363,7 @@ _parse_int :: proc(s: string, offset: int) -> (result: int, offset: int, ok: boo
|
||||
|
||||
_arg_number :: proc(fi: ^FmtInfo, arg_index: int, format: string, offset, arg_count: int) -> (index, offset: int, ok: bool) {
|
||||
parse_arg_number :: proc(format: string) -> (int, int, bool) {
|
||||
if len(format) < 3 {
|
||||
return 0, 1, false;
|
||||
}
|
||||
if len(format) < 3 do return 0, 1, false;
|
||||
|
||||
for i in 1...len(format) {
|
||||
if format[i] == ']' {
|
||||
|
||||
Reference in New Issue
Block a user