Skip to content

Commit

Permalink
fix(semantic): Add Eq to CtxFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
leaysgur committed Jun 13, 2024
1 parent dbf7c3a commit e16089d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_semantic/src/control_flow/builder/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::{BasicBlockId, EdgeType};
use super::ControlFlowGraphBuilder;

bitflags::bitflags! {
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct CtxFlags: u8 {
/// Anything above a `FUNCTION` is unreachable.
const FUNCTION = 1;
Expand Down

0 comments on commit e16089d

Please sign in to comment.