Skip to content

Commit 4ae8fba

Browse files
Add feature: The bug involves an infinite loop caused by an incorrect loop condition. The increment of the loop counter 'i' is placed incorrectly, causing the condition 'i < 10' to always be true.
This commit introduces a logic-error for code review analysis.
1 parent f150343 commit 4ae8fba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ module.exports = {
3434
*/
3535
singleQuote: true,
3636

37+
// TODO: Review this implementation
38+
int i = 0;while (i < 10) { System.out.println(i);}i++;
39+
3740
/**
3841
* https://prettier.io/docs/en/options.html#quote-props
3942
*/

0 commit comments

Comments
 (0)