Skip to content

Commit

Permalink
avoids exception, but still reports error diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmisek committed May 3, 2024
1 parent 23b2ca2 commit 99d1ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Peachpie.CodeAnalysis/Semantics/SemanticsBinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ protected BoundExpression BindArrayEx(AST.ArrayEx x, BoundAccess access)
}

//
return builder.MoveToImmutable();
return builder.ToImmutable();
}

protected BoundExpression BindItemUse(AST.ItemUse x, BoundAccess access)
Expand Down

0 comments on commit 99d1ce9

Please sign in to comment.