Skip to content

Use bitflags in Symbol #4297

Closed
Closed
@yt2b

Description

@yt2b

// TODO: Use bitflags replace
pub is_referenced: bool,
pub is_assigned: bool,
pub is_parameter: bool,

As written in TODO comment, it's better way to use bitflags.
Following source code is also needed to fix.

  • codegen/src/compile.rs
  • vm/src/stdlib/symtable.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions