Skip to content

Commit 5b3fbd3

Browse files
committed
Fix lint: use block comment style in AlignObjectMethodScopes
1 parent 2164d20 commit 5b3fbd3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/AlignObjectMethodScopes.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ function findScopesToMerge(fn: HIRFunction): DisjointSet<ReactiveScope> {
4848
const lvalueScope = lvalue.identifier.scope;
4949

5050
if (operandScope == null || lvalueScope == null) {
51-
// FunctionExpressions used as object properties may not always
52-
// have scopes (e.g. if they were pruned). ObjectMethods must
53-
// always have scopes.
51+
/*
52+
* FunctionExpressions used as object properties may not always
53+
* have scopes (e.g. if they were pruned). ObjectMethods must
54+
* always have scopes.
55+
*/
5456
if (objectMethodDecls.has(operand.identifier)) {
5557
CompilerError.invariant(false, {
5658
reason:

0 commit comments

Comments
 (0)