Check .field access on structs #55

Closed
opened 2026-09-10 22:13:49 +00:00 by jacksonopp · 0 comments
Owner

Type-check Expr::Field -- base must resolve to a TyKind::Struct, and name must be one of its declared fields; the access's type is that field's declared type. Enum-variant access stays out of scope per #4's note -- that's Expr::Call/Expr::Match's territory.

Type-check Expr::Field -- base must resolve to a TyKind::Struct, and name must be one of its declared fields; the access's type is that field's declared type. Enum-variant access stays out of scope per #4's note -- that's Expr::Call/Expr::Match's territory.
jacksonopp added this to the twill project 2026-09-10 22:20:41 +00:00
jacksonopp removed this from the twill project 2026-10-04 02:28:22 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jacksonopp/twill#55
No description provided.