Skip to content

Commit

Permalink
docs: mention the original issue in the edge case.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Jul 5, 2024
1 parent 1599145 commit ec5bfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/ast_codegen/src/generators/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ impl<'a> VisitBuilder<'a> {
} else {
match &*ty.borrow() {
// TODO: this one is a hot-fix to prevent flattening `ExpressionArrayElement`.
// Shouldn't be an edge case
// Shouldn't be an edge case, <https://github.com/oxc-project/oxc/issues/4060>
RType::Enum(enum_)
if enum_.item.ident == "Expression"
&& visit_as.is_some_and(|it| it == "ExpressionArrayElement") =>
Expand Down

0 comments on commit ec5bfd0

Please sign in to comment.