An Enumaration Expression is just like a Struct Expression. Old
versions of the Rust Reference described them separately. But since
they are syntactically exactly like a Struct Expression they are never
actually parsed. A Struct Expression can also be used to initialize
enums (and unions).
Remove
A StructExprUnit is parsed as an IdentifierExpr. An IdentifierExpr,
which is what we call a single segment PathInExpression.
After type checking, when generating gcc generic trees, if the
IdentifierExpr is a type reference (which must be a unit struct), then
a unit expression is generated.
Remove
Hi,
There are various Structure Expressions that don't actually "exist"
because they are syntactically equivalent to other constructs. So we
never really construct or use these classes. But they are still listed
in various visitors, which is somewhat confusing. Removing the AST and
HIR variants of
A StructExprTuple is parsed as a CallExpr. Both (can) start with a
PathInExpression followed by zero or more Expressions between
brackets.
Only, after type checking, when actually generating gcc generic trees
is a distinction made between a function call or tuple constructor.
Remove the AST and H
Hi everyone,
It's that time again, and we will have our regular monthly call.
- Date and Time 3rd September 2021 at 1000 (BST, which is UTC+1)
- Agenda: https://hackmd.io/wflqJlFvS6edEsqf1oo-Hg, please feel free to
add agenda items you wish to see discussed.
- Jitsi: https://meet.jit.