mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix at error printing bug
This commit is contained in:
+4
-1
@@ -6138,7 +6138,10 @@ gb_internal bool evaluate_where_clauses(CheckerContext *ctx, Ast *call_expr, Sco
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (call_expr) error(call_expr, "at caller location");
|
if (call_expr) {
|
||||||
|
TokenPos pos = ast_token(call_expr).pos;
|
||||||
|
error_line("%s at caller location\n", token_pos_to_string(pos));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user