mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-25 00:40:26 +00:00
Attributes; @(link_name="foo")
This commit is contained in:
@@ -206,7 +206,7 @@ Type *check_assignment_variable(Checker *c, Operand *rhs, AstNode *lhs_node) {
|
||||
|
||||
check_expr(c, &lhs, lhs_node);
|
||||
if (lhs.mode == Addressing_Invalid ||
|
||||
lhs.type == t_invalid) {
|
||||
(lhs.type == t_invalid && lhs.mode != Addressing_Overload)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user