Skip to content

Use StackedContexts class in lieu of TypeCheckContext::block_stack #3284

Closed
@CohenArthur

Description

The class is available in https://github.com/Rust-GCC/gccrs/blob/master/gcc/rust/util/rust-stacked-contexts.h

You can include the header and remove the block_stack member of the TypeCheckContext class, and replace it with a StackedContexts member instead. You should also remove the associated methods for popping and pushing to the old context.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions