Skip to content

Do more name resolution in body lowering #14498

Open
@Veykril

Description

@Veykril

Right now body lowering is just that, going from AST -> HIR, all resolution actually happens in type checking. This makes the inference query a lot more complicated than it needs to be. Some things we should probably resolve are labels, lifetimes (unsure about this one) and paths (only partially given paths might require type info for full resolution).

cc #14368 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-hirhir and hir-def relatedC-ArchitectureBig architectural things which we need to figure up-front (or suggestions for rewrites :0) )C-enhancementCategory: enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions