On x: [?]T = {...}, minimize errors by using the [?]T expression as a kind of hint

This commit is contained in:
gingerBill
2024-03-19 13:32:37 +00:00
parent 5159f30c9c
commit 80ecf5b68a
3 changed files with 46 additions and 14 deletions
+1
View File
@@ -451,6 +451,7 @@ struct CheckerContext {
u32 state_flags;
bool in_defer;
Type * type_hint;
Ast * type_hint_expr;
String proc_name;
DeclInfo * curr_proc_decl;