mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Improve logic for x->y() shorthand
This commit is contained in:
+2
-1
@@ -45,7 +45,7 @@ enum StmtFlag {
|
||||
|
||||
Stmt_TypeSwitch = 1<<4,
|
||||
|
||||
Stmt_CheckScopeDecls = 1<<5,
|
||||
Stmt_CheckScopeDecls = 1<<5,
|
||||
};
|
||||
|
||||
enum BuiltinProcPkg {
|
||||
@@ -316,6 +316,7 @@ struct CheckerContext {
|
||||
bool no_polymorphic_errors;
|
||||
bool hide_polymorphic_errors;
|
||||
bool in_polymorphic_specialization;
|
||||
bool allow_arrow_right_selector_expr;
|
||||
Scope * polymorphic_scope;
|
||||
|
||||
Ast *assignment_lhs_hint;
|
||||
|
||||
Reference in New Issue
Block a user