Improve logic for x->y() shorthand

This commit is contained in:
gingerBill
2020-11-15 23:54:18 +00:00
parent 5fafb17d81
commit 939878df50
5 changed files with 31 additions and 18 deletions
+2 -1
View File
@@ -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;