Since `continue`ing or `break`ing would skip the deferred statement, causing
an infinite loop.
-[ ] The following code causes an infinite loop somewhere.
+[X] The following code causes an infinite loop somewhere.
```
get_neighbor_count :: proc (grid: ^map.Map(Vec2, Cell), pos: Vec2) -> u32 {
count := 0;
b32 check_field_access(AstFieldAccess** pfield) {
AstFieldAccess* field = *pfield;
if (check_expression(&field->expr)) return 1;
- if (field->expr->type == NULL) return 1;
+ if (field->expr->type == NULL) {
+ onyx_report_error(field->token->pos, "Unable able to deduce type of expression for accessing field.");
+ return 1;
+ }
if (!type_is_structlike(field->expr->type)) {
onyx_report_error(field->token->pos,