mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 15:27:06 -04:00
Declaration grouping uses braces rather than parentheses
This commit is contained in:
1 parent
6b464e3558
commit
6a88dc322a
27 files changed
+184
-200
No files matched your search
@@ -1545,11 +1545,6 @@ Entity *check_ident(Checker *c, Operand *o, AstNode *n, Type *named_type, Type *
|
||||
}
|
||||
break;
|
||||
|
||||
case Entity_TypeAlias:
|
||||
case Entity_TypeName:
|
||||
o->mode = Addressing_Type;
|
||||
break;
|
||||
|
||||
case Entity_Procedure:
|
||||
o->mode = Addressing_Value;
|
||||
break;
|
||||
@@ -3530,7 +3525,6 @@ Entity *check_selector(Checker *c, Operand *operand, AstNode *node, Type *type_h
|
||||
operand->mode = Addressing_Value;
|
||||
}
|
||||
break;
|
||||
case Entity_TypeAlias:
|
||||
case Entity_TypeName:
|
||||
operand->mode = Addressing_Type;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user