Skip to content

Given how much better the AST is from having the receiver be separate, it makes me wonder if HIR would benefit just as much… #100427

Closed
@cjgillot

Description

@cjgillot

HIR bundles the self expression and the arguments of method calls in a single vector in the hir::ExprKind::MethodCall variant.

Unbundling this in AST in #100232 showed a significant simplification of client code.

Suggested by @nagisa in #100232 (comment)

Metadata

Metadata

Assignees

Labels

A-HIRArea: The high-level intermediate representation (HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions