Skip to content

Commit

Permalink
This is very rarely hit, and there's bigger problems here
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Jan 20, 2024
1 parent 7405e83 commit e60bc5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion full-moon/src/ast/parsers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,6 @@ fn force_table_constructor(
};
}

// rewrite todo: range, or at least field.tokens().last().unwrap().clone()
let right_brace = match state.require(Symbol::RightBrace, "expected `}` after last field") {
Some(right_brace) => right_brace,
None => TokenReference::basic_symbol("}"),
Expand Down

0 comments on commit e60bc5a

Please sign in to comment.